tebyan-medical-backend / .env.production.example
Ψ±ΨΊΨ―
feat: complete platform β€” auth, deployment, hardening
344e369
# ══════════════════════════════════════════════════════
# ΨͺΨ¨ΩŠΨ§Ω† Ψ§Ω„Ψ·Ψ¨ΩŠ β€” 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=