-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.prod.example
More file actions
47 lines (38 loc) · 2.92 KB
/
Copy path.env.prod.example
File metadata and controls
47 lines (38 loc) · 2.92 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
# OperatorOS production environment example
# Copy to .env.prod, fill in real values, and use with docker-compose.prod.yml.
# NEVER commit the real .env.prod file.
# ── Database ──────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql+asyncpg://operatoros:operatoros@postgres:5432/operatoros
# ── Redis ─────────────────────────────────────────────────────────────────────
# Required in production: docker-compose.prod.yml enforces --requirepass on Redis.
REDIS_PASSWORD=change-me-to-a-long-random-password
# ── Security ──────────────────────────────────────────────────────────────────
# Generate a secure SECRET_KEY with:
# python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-me-to-random-64-char-string
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
# ── AI / LLM ──────────────────────────────────────────────────────────────────
# At least one usable provider is required (OpenRouter or free router + provider key).
OPENROUTER_API_KEY=your-openrouter-key
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
EMBEDDING_MODEL=text-embedding-3-small
DEFAULT_LLM_MODEL=anthropic/claude-sonnet-4-20250514
FREE_LLM_ENABLED=true
GROQ_API_KEY=
CEREBRAS_API_KEY=
GOOGLE_AI_STUDIO_API_KEY=
MISTRAL_API_KEY=
# ── n8n ───────────────────────────────────────────────────────────────────────
N8N_WEBHOOK_URL=http://n8n:5678
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=change-me-to-a-strong-password
# ── CORS / Domain ─────────────────────────────────────────────────────────────
# CORS_ORIGINS must match the URL(s) your users access the frontend from.
CORS_ORIGINS=https://app.yourdomain.com
DOMAIN=yourdomain.com
# ── Application ───────────────────────────────────────────────────────────────
ENVIRONMENT=production
LOG_LEVEL=INFO
# ── PDF output ────────────────────────────────────────────────────────────────
PDF_OUTPUT_DIR=/app/reports