40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
# NetDesk server config — copy to `.env` and fill in. `.env` is gitignored.
|
|
# Every value is optional; the server runs with sensible defaults, but you want
|
|
# at least a status key + portal password + TURN secret for a real deployment.
|
|
|
|
# Public port to publish the server on (maps to container :8443).
|
|
ND_PORT=8443
|
|
|
|
# Secret required to read /status details (pick a long random string).
|
|
ND_STATUS_KEY=
|
|
|
|
# Secret hosts must present to register (recommended; blocks stranger hosts).
|
|
ND_REG_KEY=
|
|
|
|
# Password for the web management portal (/portal).
|
|
ND_PORTAL_PASSWORD=
|
|
|
|
# Email granted unrestricted access + the admin panel.
|
|
ND_OWNER_EMAIL=
|
|
|
|
# Public base URL used in verification emails, e.g. https://netdesk.example.com
|
|
ND_PUBLIC_URL=
|
|
|
|
# Email accounts (optional): sender address + SMTP relay for verification mail.
|
|
ND_MAIL_FROM=
|
|
ND_SMTP_HOST=127.0.0.1
|
|
|
|
# Self-hosted coturn (optional): the server mints 12h HMAC TURN creds against
|
|
# this secret; the coturn sidecar shares it. TURN_REALM is the coturn realm.
|
|
ND_TURN_HOST=
|
|
ND_TURN_SECRET=
|
|
TURN_REALM=netdesk.local
|
|
|
|
# In-process TLS (optional): paths INSIDE the container (mount certs in compose).
|
|
# Usually you terminate TLS at a reverse proxy instead and leave these blank.
|
|
ND_CERT=
|
|
ND_KEY=
|
|
|
|
# Set to 1 for debug logging.
|
|
ND_VERBOSE=0
|