Repository navigation
Expand file tree
/
Copy path.env.production.example
More file actions
52 lines (41 loc) · 2.97 KB
/
Copy path.env.production.example
File metadata and controls
52 lines (41 loc) · 2.97 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
47
48
49
50
51
52
# ==============================================================================
# DawaiSathi VPS Production Environment Configuration
# Target Domain: dawaisathi.georbit.org
# ==============================================================================
# ── 1. Database Configuration (Self-Hosted on VPS) ───────────────────────────
POSTGRES_USER=dawaisathi
POSTGRES_PASSWORD=generate_a_secure_postgres_password_here
POSTGRES_DB=dawaisathi
# ── 2. Security & Admin Keys ──────────────────────────────────────────────────
# Generate with: openssl rand -hex 32
SECRET_KEY=generate_a_random_32_byte_secret_key_here
# Master superuser key for accessing /admin on dawaisathi.georbit.org
ADMIN_SECRET_KEY=dawaisathi-super-admin-vps-2026-secret
# Comma-separated list of admin emails to auto-promote to superuser upon login
ADMIN_EMAILS=admin@georbit.org
# ── 3. Public Domain & URLs ──────────────────────────────────────────────────
FRONTEND_URL=https://dawaisathi.georbit.org
GOOGLE_REDIRECT_URI=https://dawaisathi.georbit.org/api/auth/callback
TELEGRAM_WEBHOOK_URL=https://dawaisathi.georbit.org
# ── 4. Google OAuth Credentials ──────────────────────────────────────────────
# (From Google Cloud Console -> APIs & Services -> Credentials)
# Authorize JavaScript Origins: https://dawaisathi.georbit.org
# Authorize Redirect URI: https://dawaisathi.georbit.org/api/auth/callback
GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_google_client_secret
# ── 5. AI Prescription OCR Keys ──────────────────────────────────────────────
GEMINI_API_KEY=your_gemini_api_key
OPENROUTER_API_KEY=
ANTHROPIC_API_KEY=
# ── 6. Cloudinary (Prescription Scan Storage) ─────────────────────────────────
# Format: cloudinary://<api_key>:<api_secret>@<cloud_name>
CLOUDINARY_URL=
# ── 7. Telegram Bot Notifications ────────────────────────────────────────────
TELEGRAM_BOT_TOKEN=
# ── 8. Web Push Notifications (VAPID) ────────────────────────────────────────
# Generate once with: python backend/generate_vapid.py
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
VAPID_CLAIMS_EMAIL=admin@georbit.org
# ── 9. Cron / Adherence Scheduler ────────────────────────────────────────────
CRON_SECRET=generate_a_random_cron_secret_here