Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 1.93 KB
/
Copy path.env.example
File metadata and controls
49 lines (41 loc) · 1.93 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
# Copy to `.env` (gitignored) next to docker-compose.yml and fill in what you
# need. Anything left empty keeps the corresponding MOCK mode on, so the stack
# always runs — keys only switch parts of it to real.
# ---- Extraction provider (pick one, set its key) ---------------------------
# gemini (default) | anthropic | deepseek
EXTRACTION_PROVIDER=gemini
# Gemini (default provider)
GOOGLE_API_KEY=
GEMINI_MODEL=gemini-2.5-flash
# Anthropic / Claude (set EXTRACTION_PROVIDER=anthropic to use)
ANTHROPIC_API_KEY=
CLAUDE_MODEL=claude-opus-4-8
# DeepSeek (set EXTRACTION_PROVIDER=deepseek to use)
DEEPSEEK_API_KEY=
DEEPSEEK_MODEL=deepseek-v4
# ---- OCR tier ---------------------------------------------------------------
# URL of the OCR service. Leave empty for mock OCR. With the compose gpu
# overlay this is set to http://ocr:8011 automatically.
OCR_SERVICE_URL=
# ---- Host ports (change if another project holds the default) ---------------
API_PORT=8000
WEB_PORT=8080
# ---- Open-access cost guard --------------------------------------------------
RATE_LIMIT_PER_MIN=5
DAILY_JOB_CAP=200
CORS_ORIGINS=*
# --------------------------------------------------------------------------- #
# DEPLOYMENT — Cloud Run (backend) + Vercel (frontend)
# --------------------------------------------------------------------------- #
# These are set via the Cloud Run / Vercel dashboards, not in this file.
#
# Cloud Run env vars (set on the service):
# PORT — set automatically by Cloud Run (8080). Do NOT override.
# DATABASE_URL — postgresql+psycopg://user:pass@host/dbname
# CORS_ORIGINS — your Vercel domain, e.g. https://hermes.vercel.app
# GOOGLE_API_KEY — (production LLM key)
# (and any other vars from the extraction / OCR sections above)
#
# Vercel env vars (set on the project):
# VITE_API_URL — the Cloud Run service URL,
# e.g. https://hermes-api-xxxx.a.run.app