44 lines
2.6 KiB
Plaintext
44 lines
2.6 KiB
Plaintext
# ── Required ──────────────────────────────────────────────────────────────────
|
|
DB_PASSWORD=change_me_strong_password
|
|
JWT_SECRET=change_me_super_secret_jwt_key
|
|
|
|
# ── App identity ──────────────────────────────────────────────────────────────
|
|
PROJECT_NAME=rosterchirp
|
|
APP_NAME=rosterchirp
|
|
DEFCHAT_NAME=General Chat
|
|
ADMIN_NAME=Admin User
|
|
ADMIN_EMAIL=admin@rosterchirp.local
|
|
ADMIN_PASS=Admin@1234
|
|
ADMPW_RESET=false
|
|
|
|
# ── Database ──────────────────────────────────────────────────────────────────
|
|
DB_NAME=rosterchirp
|
|
DB_USER=rosterchirp
|
|
# DB_HOST and DB_PORT are set automatically in docker-compose (host=db, port=5432)
|
|
|
|
# ── Tenancy mode ──────────────────────────────────────────────────────────────
|
|
# selfhost = single tenant (RosterChirp-Chat / RosterChirp-Brand / RosterChirp-Team)
|
|
# host = multi-tenant (RosterChirp-Host only)
|
|
APP_TYPE=selfhost
|
|
|
|
# ── RosterChirp-Host only (ignored in selfhost mode) ─────────────────────────────────
|
|
# HOST_DOMAIN=rosterchirp.com
|
|
# HOST_ADMIN_KEY=change_me_host_admin_secret
|
|
|
|
# ── Optional ──────────────────────────────────────────────────────────────────
|
|
PORT=3000
|
|
TZ=UTC
|
|
|
|
# ── Firebase Cloud Messaging (FCM) — Android background push ──────────────────
|
|
# Required for push notifications to work on Android when the app is backgrounded.
|
|
# Get these from: Firebase Console → Project Settings → General → Your web app
|
|
# FIREBASE_API_KEY=
|
|
# FIREBASE_PROJECT_ID=
|
|
# FIREBASE_MESSAGING_SENDER_ID=
|
|
# FIREBASE_APP_ID=
|
|
# Get VAPID key from: Firebase Console → Project Settings → Cloud Messaging → Web Push certificates
|
|
# FIREBASE_VAPID_KEY=
|
|
# Get service account JSON from: Firebase Console → Project Settings → Service accounts → Generate new private key
|
|
# Paste the entire JSON content as a single-line string:
|
|
# FIREBASE_SERVICE_ACCOUNT={"type":"service_account","project_id":"..."}
|