Generated from the source and Compose files; not every variable should be set manually. Values containing secrets belong in Docker volumes, not a public .env.
| Name | Observed source files |
|---|---|
WESERGATE_ALLOW_ENFORCEMENT |
compose.preproduction.yaml, tests/conftest.py, tests/test_container_deployment.py, tests/test_v010_deployment.py |
WESERGATE_APP_SECRETS_PATH |
wesergate/setup_wizard.py |
WESERGATE_ARMED_NAS_IP |
compose.preproduction.yaml, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_AUDIT_KEY |
tests/conftest.py, wesergate/container_entrypoint.py |
WESERGATE_DEBUG |
wesergate/config.py |
WESERGATE_ENFORCEMENT_ACK |
compose.preproduction.yaml, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_ENV |
tests/conftest.py, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_EXTRA_CA_FILE |
wesergate/trust.py |
WESERGATE_MASTER_KEY |
tests/conftest.py, wesergate/container_entrypoint.py |
WESERGATE_MGMT_BIND_IP |
compose.preproduction.yaml, tests/test_v010_deployment.py |
WESERGATE_MGMT_HOSTNAME |
compose.preproduction.yaml, wesergate/setup_wizard.py |
WESERGATE_PORTAL_BIND_IP |
compose.preproduction.yaml |
WESERGATE_PORTAL_HOSTNAME |
compose.preproduction.yaml, wesergate/setup_wizard.py |
WESERGATE_PORTAL_PUBLIC_URL |
compose.preproduction.yaml, wesergate/config.py |
WESERGATE_PUBLIC_URL |
compose.preproduction.yaml, tests/conftest.py, wesergate/config.py |
WESERGATE_QUARANTINE_VLAN |
wesergate/config.py |
WESERGATE_RADIUS_SERVICE_TOKEN |
tests/conftest.py, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_RUNTIME_ENV |
wesergate/container_entrypoint.py |
WESERGATE_RUNTIME_PROFILE |
wesergate/builtin_radius.py, wesergate/caddy_launcher.py, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_SCAN_ALLOWED_CIDRS |
compose.preproduction.yaml, compose.production.yaml |
WESERGATE_SECURE_COOKIES |
tests/test_container_deployment.py, wesergate/config.py, wesergate/container_entrypoint.py |
WESERGATE_TRUSTED_HOSTS |
compose.preproduction.yaml, tests/conftest.py, wesergate/config.py |
High-risk configuration examples
WESERGATE_ALLOW_ENFORCEMENT=falseis the default. Do not enable on a production switch without verified capability, approved pilot NAS, change window and acceptance evidence..env.preproductionbinds approved management/portal IPs only after the host network plan succeeds.- Database password, audit/master keys and RADIUS service token should be supplied by protected secrets volume.
WESERGATE_RUNTIME_PROFILEselects the operational deployment; do not confuse the named profile with legal product certification.- The vendor license public verification key is bundled in source; the private key is outside all customer/customer-facing files.
Original English reference:
en/docs/reference/configuration-variables.mdRead documentation Pre-production · v0.14.3
Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

