Skip to main content

Environment Variables

The application supports the following environment variables for configuration:

VariableDescriptionDefault
PORTPort for the main web application9666
CRON_PORTPort for the cron service (scheduling). If not set, uses PORT + 19667
CRON_BIND_HOSTAddress the cron service listens on. Loopback is the default so the control API is not exposed.127.0.0.1
CRON_SERVICE_SECRETShared secret required for mutating cron-service routes when the service is not bound to loopback. The Next.js proxy forwards it as X-Cron-Service-Secret.unset (required if not loopback)
NODE_ENVNode.js environment (development or production)production
NEXT_TELEMETRY_DISABLEDDisable Next.js telemetry (set on all Next.js scripts and in Docker)1
TZTimezone for the applicationEurope/London
PWD_ENFORCESet to false to disable password complexity requirements (uppercase, lowercase, numbers).Enforced (full validation)
PWD_MIN_LENMinimum password length in characters (always enforced)8
IP_TRUSTED_PROXIESComma-separated CIDRs of reverse proxies allowed to set X-Forwarded-Forunset
ADMIN_IP_ALLOWLIST_ENABLEDOverride the admin IP allowlist enable flag (true / false)unset (use Settings)
ADMIN_IP_ALLOWLISTComma-separated CIDRs for the admin interfaceunset
EXTERNAL_API_IP_ALLOWLIST_ENABLEDOverride the external-API allowlist enable flag (true / false)unset (use Settings)
EXTERNAL_API_IP_ALLOWLISTComma-separated CIDRs for /api/upload, /api/summary, and /api/lastbackup*unset
DUPLISTATUS_PUBLIC_URLPublic base URL of the duplistatus web UI (no trailing slash). When set, overrides Settings → Daily Summary Public dashboard URL and Daily Summary emails include {duplistatus_link}. When unset, the saved setting is used; if that is also empty, no dashboard link is added.unset

NEXT_TELEMETRY_DISABLED=1 is set by the Docker image and by pnpm build, pnpm build-local, pnpm start, pnpm start-local, and pnpm dev, so Next.js does not collect anonymous CLI telemetry. When using a new development environment or compiling from source, also persist the opt-out in your user config, run npx next telemetry disable.