services: webhookit: build: . image: webhookit:local container_name: webhookit restart: unless-stopped ports: - "${PORT:-8080}:8080" # HTTP UI + capture - "${SMTP_PORT:-2525}:2525" # SMTP email capture - "${DNS_PORT:-5353}:5353/udp" # DNS query capture environment: PORT: 8080 SMTP_PORT: 2525 DNS_PORT: 5353 healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8080/config.json"] interval: 10s timeout: 5s retries: 3 start_period: 5s