v0.12.0 codes for FCM and rebranded jama to RosterChirp
This commit is contained in:
31
.env.example
31
.env.example
@@ -3,28 +3,41 @@ DB_PASSWORD=change_me_strong_password
|
||||
JWT_SECRET=change_me_super_secret_jwt_key
|
||||
|
||||
# ── App identity ──────────────────────────────────────────────────────────────
|
||||
PROJECT_NAME=jama
|
||||
APP_NAME=jama
|
||||
PROJECT_NAME=rosterchirp
|
||||
APP_NAME=rosterchirp
|
||||
DEFCHAT_NAME=General Chat
|
||||
ADMIN_NAME=Admin User
|
||||
ADMIN_EMAIL=admin@jama.local
|
||||
ADMIN_EMAIL=admin@rosterchirp.local
|
||||
ADMIN_PASS=Admin@1234
|
||||
ADMPW_RESET=false
|
||||
|
||||
# ── Database ──────────────────────────────────────────────────────────────────
|
||||
DB_NAME=jama
|
||||
DB_USER=jama
|
||||
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 (JAMA-CHAT / JAMA-BRAND / JAMA-TEAM)
|
||||
# host = multi-tenant (JAMA-HOST only)
|
||||
# selfhost = single tenant (RosterChirp-Chat / RosterChirp-Brand / RosterChirp-Team)
|
||||
# host = multi-tenant (RosterChirp-Host only)
|
||||
APP_TYPE=selfhost
|
||||
|
||||
# ── JAMA-HOST only (ignored in selfhost mode) ─────────────────────────────────
|
||||
# HOST_DOMAIN=jamachat.com
|
||||
# ── 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":"..."}
|
||||
|
||||
Reference in New Issue
Block a user