Application
This content is for v1.0. Switch to the latest version for up-to-date documentation.
| Variable | Default | Description |
|---|---|---|
ACCEPT_TERMS Required |
— | Set to true to accept the terms of use. Without it Klokk logs the link and exits. |
APP_ENV |
production | Runtime mode: production or dev. Set production for real deployments; dev relaxes some security checks. |
PORT |
8080 | HTTP listen port inside the container. |
BASE_URL |
http://localhost:8080 |
Public base URL (no trailing slash). Used for links in emails. |
LOG_LEVEL |
warn | Log verbosity: debug, info, warn, error. |
LOCALES_PATH |
locales | Path to the locale files directory (relative to the binary or absolute). |
LICENSE_KEY |
— | Licence key. Applied to the settings on every start, so the licence can be managed without signing in; it replaces a key entered in the admin area. |
LEGAL_NOTICE_URL |
— | Link to your legal notice, shown in the app footer. When set, the field under Settings → Legal is read-only. |
PRIVACY_POLICY_URL |
— | Link to your privacy policy, shown in the app footer. When set, the field under Settings → Legal is read-only. |
VAPID_SUBJECT |
BASE_URL if https | Contact the browsers’ push services use to reach the operator, as mailto: or https: URI. Defaults to BASE_URL when it starts with https://. |
ERROR_REPORTS |
— | Fixes whether this installation shares anonymised error reports with the Klokk team. Unset: super admins decide under Administration → Error log (off until switched on). true: always on. false: off, and the Report a bug and Suggest a feature forms are disabled too. What is sent: see the privacy policy. |
ERROR_REPORTS_URL |
https://radar.klokk.me | Server the error reports and bug reports go to (Klokk Radar). |