-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 1.13 KB
/
Copy path.env.example
File metadata and controls
29 lines (25 loc) · 1.13 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
# Copy this file to `.env` (or `python-server/.env`) and fill in real values.
# NEVER commit a real key. `.env` files are git-ignored on purpose.
#
# These variables are read by the FastAPI server ONLY. They are server-side
# secrets and must never be exposed to the browser or prefixed with VITE_.
# --- Chat proxy (server-side only) ---
# Google Generative Language (Gemini) API key. Server reads this to call Google.
GEMINI_API_KEY=your-server-side-gemini-key-here
# Model is non-secret and configurable.
GEMINI_MODEL=gemini-2.0-flash
# --- FastAPI service ---
# Bind host/port. Default to loopback; do not expose 0.0.0.0 without a reason.
HOST=127.0.0.1
PORT=8000
# Exact-match, comma-separated list of allowed browser origins for CORS.
ALLOWED_ORIGINS=http://localhost:5173
# --- WebSocket signaling server ---
WS_HOST=127.0.0.1
WS_PORT=5174
WS_PATH=/ws
# Exact-match, comma-separated list of allowed browser origins for the socket.
WS_ALLOWED_ORIGINS=http://localhost:5173
# --- Frontend (public, safe to ship in the browser bundle) ---
# Public signaling URL the browser connects to. Contains NO secret.
VITE_SIGNALING_URL=ws://localhost:5174/ws