-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.production.template
More file actions
96 lines (77 loc) · 4.79 KB
/
env.production.template
File metadata and controls
96 lines (77 loc) · 4.79 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ╔═══════════════════════════════════════════════════════════════════╗
# ║ construct.computer — Production Template ║
# ║ Copy to /opt/construct/.env and fill in values ║
# ╚═══════════════════════════════════════════════════════════════════╝
# ── Core ─────────────────────────────────────────────────────────────
PORT=3000
HOST=0.0.0.0
NODE_ENV=production
ADMIN_PASSWORD=
LOG_LEVEL=info
DB_PATH=/opt/construct/data/construct.db
DATA_DIR=/opt/construct/data
HOST_DATA_DIR=/opt/construct/data
# ── Security (generate with: openssl rand -hex 32) ──────────────────
JWT_SECRET=
JWT_EXPIRY=7d
ENCRYPTION_KEY=
# ── URLs ─────────────────────────────────────────────────────────────
CORS_ORIGINS=https://your-domain.com
FRONTEND_URL=https://your-domain.com
# ── Access Control (comma-separated emails, empty = allow all) ───────
ALLOWED_EMAILS=
# ── Auth: Google OAuth (required for login) ──────────────────────────
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_AUTH_REDIRECT_URI=https://your-domain.com/api/auth/google/callback
# ── Auth: Slack (optional) ───────────────────────────────────────────
# SLACK_CLIENT_ID=
# SLACK_CLIENT_SECRET=
# SLACK_SIGNING_SECRET=
# SLACK_REDIRECT_URI=https://your-domain.com/api/slack/callback
# ── Platform: Telegram (optional) ────────────────────────────────────
TELEGRAM_BOT_TOKEN=
# ── Agent Services (proxied to containers) ───────────────────────────
PLATFORM_OPENROUTER_KEY=
# Per-role model chains (comma-separated: first is primary, rest are fallbacks)
PLATFORM_ORCHESTRATOR_MODELS=
PLATFORM_CHILD_MODELS=
PLATFORM_TINYFISH_KEY=
PLATFORM_AGENTMAIL_KEY=
MEM0_API_KEY=
# ── Integrations ─────────────────────────────────────────────────────
COMPOSIO_API_KEY=
RESEND_API_KEY=
RESEND_FROM_EMAIL=noreply@your-domain.com
# ── Analytics (frontend — VITE_ prefix exposes to browser) ───────────
VITE_PUBLIC_POSTHOG_KEY=
VITE_PUBLIC_POSTHOG_HOST=https://eu.i.posthog.com
# ── Docker (leave unset to use default /var/run/docker.sock) ─────────
# DOCKER_HOST=unix:///var/run/docker.sock
# ╔═══════════════════════════════════════════════════════════════════╗
# ║ Agent (inside containers — backend proxy sets these auto.) ║
# ║ Only needed for standalone/local agent runs without backend. ║
# ╚═══════════════════════════════════════════════════════════════════╝
# ── Agent Core ───────────────────────────────────────────────────────
# AGENT_PORT=9223
# AGENT_WORKSPACE=/home/user
# ── Agent LLM (standalone — without proxy) ───────────────────────────
# OPENROUTER_API_KEY=
# OPENROUTER_MODEL=
# ── Agent Services (standalone — without proxy) ─────────────────────
# TINYFISH_API_KEY=
# TINYFISH_MAX_CONCURRENT_SESSIONS=3
# AGENTMAIL_API_KEY=
# ── Agent Browser ────────────────────────────────────────────────────
# AGENT_BROWSER_SESSION=default
# AGENT_BROWSER_SOCKET_DIR=
# AGENT_BROWSER_HOME=
# ── Agent Proxy Mode (set by backend at container launch) ────────────
# CONSTRUCT_INSTANCE_ID=
# CONSTRUCT_PROXY_AUTH_TOKEN=
# CONSTRUCT_PROXY_LLM_BASE_URL=
# CONSTRUCT_PROXY_TINYFISH_BASE_URL=
# CONSTRUCT_PROXY_AGENTMAIL_BASE_URL=
# CONSTRUCT_ORCHESTRATOR_MODELS=
# CONSTRUCT_CHILD_MODELS=
# USER_TIMEZONE=America/New_York