Files
echoboard/.env.example

32 lines
1.1 KiB
Plaintext

# Database (POSTGRES_PASSWORD is shared between the app and the postgres container)
POSTGRES_PASSWORD=change-me-to-a-strong-random-string
# Encryption keys (generate each with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
APP_MASTER_KEY=
APP_BLIND_INDEX_KEY=
# Auth secrets (generate each the same way)
TOKEN_SECRET=
JWT_SECRET=
# ALTCHA spam protection (generate the same way)
ALTCHA_HMAC_KEY=
# WebAuthn / Passkey (set these to your actual domain)
# If your domain has non-ASCII characters (umlauts, accents, etc.),
# use the punycode version for BOTH RP_ID and ORIGIN:
# WEBAUTHN_RP_ID=xn--splung-4ya.ich-stuhle.de
# WEBAUTHN_ORIGIN=https://xn--splung-4ya.ich-stuhle.de
# You can find the punycode version by opening the domain in a browser and copying from the address bar.
WEBAUTHN_RP_NAME=Echoboard
WEBAUTHN_RP_ID=example.com
WEBAUTHN_ORIGIN=https://example.com
# Web push notifications (generate with: npx web-push generate-vapid-keys)
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
VAPID_CONTACT=mailto:admin@example.com
# Server
PORT=3000