-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 2.21 KB
/
Copy path.env.example
File metadata and controls
34 lines (27 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
# ── Database ─────────────────────────────────────────────────────────────────
# Note: MONGO_URI is overridden inside docker-compose to point at the mongo
# service. Set it here for local (non-Docker) use only.
MONGO_URI=mongodb://mongo:27017/
MONGO_DB_NAME=conversa
# ── Auth ──────────────────────────────────────────────────────────────────────
JWT_SECRET=change_me_to_a_long_random_secret
# ── Google Gemini (AI bot) ────────────────────────────────────────────────────
GEMINI_API_KEY=your_gemini_api_key
GEMINI_MODEL=gemini-3-flash-preview
# ── Email (Gmail SMTP) ────────────────────────────────────────────────────────
EMAIL=your_gmail@gmail.com
PASSWORD=your_gmail_app_password
# ── CORS ─────────────────────────────────────────────────────────────────────
# Restrict to your frontend origin in production
CORS_ORIGIN=*
# ── AWS S3 (profile picture uploads) ─────────────────────────────────────────
AWS_BUCKET_NAME=your_s3_bucket_name
AWS_ACCESS_KEY=your_aws_access_key
AWS_SECRET=your_aws_secret_key
# ── App URL (used in email notification links) ────────────────────────────────
FRONTEND_URL=http://localhost:5173
# ── Frontend (Vite — baked into JS bundle at build time) ─────────────────────
# Must be the public URL where the backend is reachable FROM THE BROWSER.
# For local Docker: http://localhost:5500
# For production: https://api.yourdomain.com
VITE_API_URL=http://localhost:5500