File size: 1,674 Bytes
344e369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ══════════════════════════════════════════════════════
# ΨͺΨ¨ΩŠΨ§Ω† Ψ§Ω„Ψ·Ψ¨ΩŠ β€” Production Environment Variables
# Copy to .env on your server and fill in the values
# ══════════════════════════════════════════════════════

# ─── LLM ────────────────────────────────────────────
GROQ_API_KEY=gsk_...

# ─── Cohere (reranking + embeddings fallback) ────────
COHERE_API_KEY=...

# ─── Supabase ────────────────────────────────────────
SUPABASE_URL=https://xxxx.supabase.co
SUPABASE_KEY=eyJ...           # anon/public key
SUPABASE_SERVICE_KEY=eyJ...   # service_role key (bypasses RLS)
SUPABASE_JWT_SECRET=...       # JWT Settings β†’ JWT Secret
SUPABASE_DB_URL=postgresql+psycopg://postgres.xxxx:PASSWORD@aws-0-...pooler.supabase.com:5432/postgres

# ─── Frontend URL (used by backend CORS) ─────────────
FRONTEND_URL=https://yourdomain.com
NEXT_PUBLIC_BACKEND_URL=/     # Use / so Nginx routes /api β†’ backend

# ─── App ─────────────────────────────────────────────
ENVIRONMENT=production

# ─── Optional monitoring ─────────────────────────────
SENTRY_DSN=