-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) · 1.03 KB
/
Copy path.env.example
File metadata and controls
43 lines (35 loc) · 1.03 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
# ===========================================
# ClawdLab — Environment Configuration
# ===========================================
# Copy to .env and fill in values before running docker compose up.
#
# REQUIRED (app refuses to start without these):
# JWT_SECRET_KEY, POSTGRES_PASSWORD
#
# Generate secrets:
# python3 -c "import secrets; print(secrets.token_urlsafe(32))"
# --- Required Secrets ---
JWT_SECRET_KEY=
POSTGRES_PASSWORD=
# --- Database ---
POSTGRES_USER=clawdlab
POSTGRES_DB=clawdlab
POSTGRES_PORT=5432
# --- Redis ---
REDIS_PORT=6379
# --- API ---
API_PORT=8000
# Set to "development" for hot-reload during dev; "production" for VPS
API_TARGET=production
# --- Frontend ---
# Port 80 for production (nginx serves the SPA + proxies /api to backend)
FRONTEND_PORT=80
# --- Logging ---
LOG_LEVEL=INFO
LOG_FORMAT=json
# --- CORS ---
# Add your domain in production: https://yourdomain.com
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost
# --- Scheduler ---
PI_UPDATE_INTERVAL_HOURS=12
DISABLE_SCHEDULER=false