Webhood is configured through aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/webhood-io/webhood/llms.txt
Use this file to discover all available pages before exploring further.
.env file located at the project root. Docker Compose reads this file automatically at startup and injects the values into the appropriate containers. Most variables are optional and have sensible defaults — only SCANNER_TOKEN must be set before the scanner can connect to the backend.
Complete .env Example
Variables
Authentication
The token the scanner uses to authenticate with the Webhood backend. Generate this token from Settings → General in the web UI after the first boot. The scanner container will not connect until this value is set.
Backend URL
The URL that the
core container uses to reach the backend API (passed as the API_URL environment variable on the core service). When left blank, the core service will not have a backend URL configured. Set this to the externally accessible URL of your Webhood instance — for example, if you are hosting Webhood behind a reverse proxy at a public domain.Scanner Behavior
Controls the verbosity of scanner log output. Accepted values are
debug, info, warn, error, and fatal. Increase to debug when troubleshooting scan failures; use warn or error in production to reduce noise.When set to
true, the scanner will refuse to scan URLs that resolve to private or RFC 1918 IP addresses (e.g. 192.168.x.x, 10.x.x.x, 172.16.x.x). Enable this in public-facing deployments to prevent server-side request forgery (SSRF) attacks.Port Bindings
The host port that Kong binds for HTTP traffic. Change this if port
8000 is already in use on your host.The host port that Kong binds for HTTPS traffic. Only relevant when TLS certificates are provided via
WEBHOOD_TLS_CERT and WEBHOOD_TLS_KEY.TLS Certificates
Absolute path on the host to a PEM-encoded TLS certificate file. Docker Compose mounts this file read-only into the Kong container. When set, Kong enables HTTPS using this certificate. See TLS & Proxy for a full setup guide.
Absolute path on the host to the PEM-encoded private key that corresponds to
WEBHOOD_TLS_CERT. Both WEBHOOD_TLS_CERT and WEBHOOD_TLS_KEY must be set together for TLS to be enabled.HTTP Proxy
Standard proxy environment variable forwarded directly to the scanner container. Use this to route all scanner HTTP traffic through a network proxy.
Same as
HTTP_PROXY but applies to HTTPS connections made by the scanner.A comma-separated list of hostnames or IP addresses that the scanner should contact directly, bypassing the proxy. Always include internal service names such as
backend and kong to prevent internal API traffic from being routed through an external proxy.