Skip to content

Configuration

The server is configured with environment variables. With Docker, put them in server/.env (start from .env.example).

Variable
RUNDOWN_SECRET_KEY Required. 32 bytes, base64 or hex (openssl rand -base64 32). Encrypts secrets at rest with AES-256-GCM. Keep it: stored secrets can’t be decrypted without it.
RUNDOWN_ADMIN_TOKEN Optional, at least 16 characters. Allows creating pairing codes over the API.
RUNDOWN_PUBLIC_URL Optional. The server’s address for pairing links and QR codes. Defaults to https://$RUNDOWN_DOMAIN when that is set.
RUNDOWN_DOMAIN With the Caddy profile: the domain Caddy gets a certificate for.
RUNDOWN_WEBHOOK_URL Optional. Every delivered notification is POSTed here.
RUNDOWN_WEBHOOK_SECRET Optional. Signs webhook bodies (see How scripts run there).
RUNDOWN_APNS_KEY_FILE (or RUNDOWN_APNS_KEY), RUNDOWN_APNS_KEY_ID, RUNDOWN_APNS_TEAM_ID Optional, together: push through APNs (see Push notifications). RUNDOWN_APNS_KEY takes the .p8 contents, with \n for line breaks.
RUNDOWN_APNS_TOPIC The app’s bundle ID. Default de.alhaidari.rundown.
RUNDOWN_APNS_BACKGROUND_UPDATES on (default) or off: silent pushes that let the apps refresh server items’ cards in the background, at most one per 20 minutes.
RUNDOWN_DATA_DIR Default ./data (/data in Docker).
RUNDOWN_PRELUDE Where prelude.js is, when the server doesn’t run from the repository.
RUNDOWN_PORT, RUNDOWN_HOST Default 8080 and 0.0.0.0.
RUNDOWN_LOG_LEVEL debug, info (default), warn or error.
RUNDOWN_MAX_CONCURRENT_RUNS Default 4.

Logs are JSON lines on standard output. GET /health answers without authentication, for monitoring.