-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
gladsonsam edited this page Mar 30, 2026
·
8 revisions
Values can be read from the environment or from *_FILE paths (Docker secrets style), for example UI_PASSWORD_FILE, AGENT_SECRET_FILE, DATABASE_URL_FILE.
| Variable | Default | Description |
|---|---|---|
DATABASE_URL |
postgres://monitor:monitor@localhost:5432/monitor |
PostgreSQL URL. In Compose, the compose file sets this to the db service. |
LISTEN_ADDR |
0.0.0.0:9000 |
Bind address for HTTP and WebSocket. |
STATIC_DIR |
./static |
Built dashboard files (/app/static in Docker). |
UI_PASSWORD |
(unset) | Dashboard password. If unset and ALLOW_INSECURE_DASHBOARD_OPEN is not true, the dashboard stays locked. |
AGENT_SECRET |
(unset) | If set, agents must send this value as the secret query parameter. If unset and ALLOW_INSECURE_AGENT_AUTH is not true, agents are denied. |
RUST_LOG |
info |
Tracing log filter. |
ENFORCE_HTTPS |
true |
When true, non-health requests need X-Forwarded-Proto: https or wss. Set false for plain HTTP without a proxy. |
CORS_ORIGINS |
(empty) | Comma-separated browser origins. Empty means permissive CORS. |
COOKIE_SECURE |
(see server) | Session cookies use Secure when this is true or X-Forwarded-Proto is https. For plain HTTP, avoid forcing COOKIE_SECURE=true. |
| Variable | Default | Description |
|---|---|---|
ALLOW_INSECURE_DASHBOARD_OPEN |
false |
If true, allows running without UI_PASSWORD (insecure). |
ALLOW_INSECURE_AGENT_AUTH |
false |
If true, allows agents without AGENT_SECRET (insecure). |
WOL_MIN_INTERVAL_SECS |
15 |
Minimum seconds between Wake-on-LAN per agent (0 = no throttle). |
ALLOW_REMOTE_SCRIPT_EXECUTION |
false |
If true, enables remote script endpoints (remote code). |
DASHBOARD_OPERATOR_NAME |
operator |
Audit log label for UI actions. |
EXPOSE_INTERNAL_ERRORS |
false |
If true, JSON 500 responses may include internal error text. |
LOG_FORCE_COLOR |
— |
1 or true for ANSI logs when stderr is not a TTY (e.g. Docker). |
NO_COLOR |
— | If set, disables ANSI in logs. |
| Variable | Description |
|---|---|
PUBLISH_PORT |
Host port mapped to container 9000. Unset if only Traefik exposes the service. |
TRAEFIK_ENABLE |
true to apply Traefik labels. |
TRAEFIK_HOST |
Hostname for the Traefik router. |
TRAEFIK_NETWORK |
External network name (default traefik). |
TRAEFIK_ENTRYPOINT |
Entry point (default websecure). |
TRAEFIK_CERTRESOLVER |
Certificate resolver (default cloudflare). |
Install and configure
Day to day
Integrations
Developers and security