discord/.env.example
pavel e1dd679c47
All checks were successful
/ upload (release) Successful in 5m37s
feat: media uploads
2026-02-27 15:38:46 +01:00

28 lines
1,009 B
Text

DATABASE_URL=postgres://postgres:postgres@localhost:5432/chattz
PORT=3000
# Authentik OIDC app values
OIDC_CLIENT_ID=replace-me
OIDC_CLIENT_SECRET=replace-me
OIDC_AUTHORIZE_URL=https://auth.example.com/application/o/authorize/
OIDC_TOKEN_URL=https://auth.example.com/application/o/token/
OIDC_USERINFO_URL=https://auth.example.com/application/o/userinfo/
OIDC_REDIRECT_URL=http://localhost:3000/auth/callback
OIDC_SCOPES="openid profile email"
# WebRTC ICE servers (comma-separated). STUN defaults to Google STUN if omitted.
STUN_URLS=stun:stun.l.google.com:19302
TURN_URLS=turn:turn.example.com:3478?transport=udp,turn:turn.example.com:3478?transport=tcp
TURN_USERNAME=replace-me
TURN_PASSWORD=replace-me
# 32+ random chars; used to sign session cookies
SESSION_SECRET=replace-with-long-random-secret
COOKIE_SECURE=false
# Cloudflare R2 media uploads
R2_ACCOUNT_ID=replace-me
R2_ACCESS_KEY_ID=replace-me
R2_SECRET_ACCESS_KEY=replace-me
R2_BUCKET=chattz-media
R2_PUBLIC_BASE_URL=https://media.example.com