-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.production.example
More file actions
49 lines (41 loc) · 3.05 KB
/
.env.production.example
File metadata and controls
49 lines (41 loc) · 3.05 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
# =============================================================================
# Faultline — Production Environment Variables
# Copy this to .env and fill in all values before running docker compose up.
# =============================================================================
# ─── Database ───────────────────────────────────────────────────────────────
# Password for the Docker Postgres instance. The DATABASE_URL is constructed
# automatically in docker-compose.yml — you only need to set the password here.
POSTGRES_PASSWORD=change-me-to-a-strong-password
# ─── Redis ──────────────────────────────────────────────────────────────────
# Configured automatically via docker-compose.yml (redis://redis:6379/0).
# Only set this if using an external Redis instance:
# REDIS_URL=redis://your-redis-host:6379/0
# ─── Rails ──────────────────────────────────────────────────────────────────
RAILS_ENV=production
SECRET_KEY_BASE=generate-with-openssl-rand-hex-64
JWT_SECRET=generate-with-openssl-rand-hex-32
# ─── Python Agent Service ──────────────────────────────────────────────────
# Configured automatically via docker-compose.yml (http://agent:8000).
# Only set this if running the agent externally:
# AGENT_SERVICE_URL=http://agent:8000
# ─── AI Model ──────────────────────────────────────────────────────────────
OPENAI_MODEL=codex-mini-latest
OPENAI_SUMMARY_MODEL=gpt-4.1-mini
AGENT_MAX_ITERATIONS=10
AGENT_MAX_TOOL_CALLS_PER_ITERATION=5
# ─── CORS / Frontend ───────────────────────────────────────────────────────
# Set to your production domain. In Docker, the frontend is served by Rails
# through nginx, so this should match your domain.
CORS_ORIGIN=https://your-domain.com
VITE_WS_URL=wss://your-domain.com
# ─── SMTP / Email ──────────────────────────────────────────────────────────
# Leave blank to auto-confirm emails (no verification sent).
# SMTP_HOST=smtp.example.com
# SMTP_FROM=noreply@your-domain.com
# ─── Rails Tuning (optional) ───────────────────────────────────────────────
# PORT=3000
# RAILS_MAX_THREADS=5
# RAILS_MIN_THREADS=5
# SIDEKIQ_CONCURRENCY=5
# RAILS_LOG_LEVEL=info
# LOG_LEVEL=info