-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (41 loc) · 2.21 KB
/
Copy path.env.example
File metadata and controls
46 lines (41 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# =============================================================================
# SevaSetu — Environment Variables
# =============================================================================
#
# Copy this file to `.env.local` for local development, OR paste each variable
# into Vercel → Project → Settings → Environment Variables for production.
#
# REQUIRED to make login work + Actual Mode show real data:
# - All NEXT_PUBLIC_FIREBASE_* vars (browser SDK)
# - FIREBASE_CLIENT_EMAIL + FIREBASE_PRIVATE_KEY (server Admin SDK)
#
# Optional (Actual Mode AI features):
# - GEMINI_API_KEY
# - GCP_PROJECT, VECTOR_INDEX_ENDPOINT, VECTOR_INDEX_DEPLOYED_ID
# =============================================================================
# ----- Firebase Web SDK (public, safe to expose) -----------------------------
# From Firebase Console → Project Settings → General → Your apps → Web app config
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project-id.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project-id.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
# Optional: VAPID key for FCM web push (Firebase Console → Project Settings →
# Cloud Messaging → Web configuration → Generate key pair).
NEXT_PUBLIC_FIREBASE_VAPID_KEY=
# ----- Firebase Admin SDK (server-only, KEEP SECRET) -------------------------
# From Firebase Console → Project Settings → Service accounts →
# "Generate new private key" — download the JSON. Then copy these three fields:
FIREBASE_CLIENT_EMAIL=firebase-adminsdk-xxxxx@your-project-id.iam.gserviceaccount.com
# IMPORTANT: paste the PEM-encoded key. Newlines must be either real newlines
# (preferred when pasting in Vercel UI) or escaped \n sequences.
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----\n"
# ----- Gemini / Vertex AI (Actual Mode AI features) --------------------------
# Get an API key at https://aistudio.google.com/app/apikey
GEMINI_API_KEY=
# Vertex AI Vector Search (skill matching). Optional — Actual Mode degrades
# gracefully if these are not set.
GCP_PROJECT=
VECTOR_INDEX_ENDPOINT=
VECTOR_INDEX_DEPLOYED_ID=