Environment Variables¶
All supported environment variables for Traefik Manager. Variables marked Override take priority over the corresponding manager.yml field.
Quick reference¶
| Variable | Default | Override | Description |
|---|---|---|---|
COOKIE_SECURE |
false |
— | Mark session cookie as Secure (required for HTTPS) |
AUTH_ENABLED |
true |
✅ auth_enabled |
Disable built-in login entirely |
ADMIN_PASSWORD |
(unset) | ✅ password_hash |
Admin password in plain text (hashed at runtime) |
DOMAINS |
example.com |
✅ domains |
Comma-separated base domains |
CERT_RESOLVER |
cloudflare |
✅ cert_resolver |
Default ACME resolver name |
TRAEFIK_API_URL |
http://traefik:8080 |
✅ traefik_api_url |
Traefik API URL |
CONFIG_PATH |
/app/config/dynamic.yml |
— | Path to the Traefik dynamic config |
BACKUP_DIR |
/app/backups |
— | Directory for timestamped config backups |
SETTINGS_PATH |
/app/config/manager.yml |
— | Path to the Traefik Manager settings file |
Reference¶
COOKIE_SECURE¶
Default: false
Set to true when Traefik Manager is served over HTTPS. Marks the session cookie as Secure, which is required by browsers for cookies on HTTPS origins.
Warning
If you are behind a reverse proxy with HTTPS and do not set this, logins will fail silently — the session cookie will not be sent by the browser.
AUTH_ENABLED¶
Default: true
Overrides: auth_enabled in manager.yml
Set to false to disable the built-in login entirely. Use this when Traefik Manager is protected by an external auth provider (Authentik, Authelia, Traefik basicAuth, etc.).
Danger
When disabled, the UI is fully open. Only use this behind another authentication layer.
ADMIN_PASSWORD¶
Default: (unset)
Overrides: password_hash in manager.yml
Set the admin password in plain text. It is hashed with bcrypt at runtime. Useful for scripted deployments where you do not want to pre-generate a hash.
Note
When this variable is set, the CLI flask reset-password command and the in-UI password change have no effect — the password always comes from this variable. Remove the variable to switch back to manager.yml-managed passwords.
DOMAINS¶
Default: example.com
Overrides: domains in manager.yml
Comma-separated list of base domains shown in the Add Route form.
CERT_RESOLVER¶
Default: cloudflare
Overrides: cert_resolver in manager.yml
The default ACME cert resolver name pre-filled in the Add Route form.
TRAEFIK_API_URL¶
Default: http://traefik:8080
Overrides: traefik_api_url in manager.yml
The URL of the Traefik API. Must be reachable from the host running Traefik Manager.
CONFIG_PATH¶
Default: /app/config/dynamic.yml
Path to the Traefik dynamic config file. Change this if your layout does not match the default.
BACKUP_DIR¶
Default: /app/backups
Directory where timestamped backups of dynamic.yml are stored before every save.
SETTINGS_PATH¶
Default: /app/config/manager.yml
Path to the Traefik Manager settings file. Useful if you want to separate it from the dynamic config directory.