NODE_ENV=development PORT=3000 SESSION_SECRET=change-me-to-a-strong-random-string-min-32-chars DATABASE_PATH=./storage/database.sqlite MEDIA_PATH=./storage/media # Canonical public URL of this site (scheme + host, no path/slash). Used for # links in emails (password reset) instead of request headers — prevents # host-header spoofing. Not set? Then it falls back to the request host (dev). PUBLIC_BASE_URL=https://example.com # ── Administrator ─────────────────────────────────────────────────── # The admin logs in with username + password. On first start you create your # admin account via /auth/register; after that, registration is closed. # Forgot your password? -> "Forgot password" (email, see SMTP below) or always: # `npm run reset-admin` on the server. # ── Google login for LISTENERS (optional) ─────────────────────────── # Want listeners to sign in with Google to comment? Create your OWN Google OAuth # client (Google Cloud Console -> Credentials -> OAuth client ID -> "Web # application") and fill it in below. Your own client = your own Google Cloud # project; this site isn't centrally tied to anything. Not set? Then there's # simply no Google button. Google login NEVER grants admin rights (commenting only). # GOOGLE_REDIRECT_URI = /auth/google/callback (set it exactly in the client) GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= GOOGLE_REDIRECT_URI=https://example.com/auth/google/callback # ── Email (optional) — for "forgot password" reset links ──────────── # Not set? Then reset only works via `npm run reset-admin` on the server. SMTP_HOST= SMTP_PORT=587 SMTP_USER= SMTP_PASS= SMTP_FROM= # ── Lite mode (optional) ──────────────────────────────────────────── # Set to "off" to disable the whole audio feature (no built-in music hosting/ # player, no ffmpeg needed). Klonkt then runs as a lightweight blog/photo/EPK # site, even on an environment without ffmpeg. Hub and Circles keep working. # External embeds (YouTube/SoundCloud/Spotify) keep working too. KLONKT_AUDIO=on