-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
46 lines (37 loc) · 2.55 KB
/
.env.example
File metadata and controls
46 lines (37 loc) · 2.55 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
# ─── Entourage Configuration ─────────────────────────────
# Copy to .env and adjust values for your environment.
# All variables use the OPENCLAW_ prefix.
# ─── Database ─────────────────────────────────────────────
OPENCLAW_DATABASE_URL=postgresql+asyncpg://openclaw:openclaw_dev@localhost:5433/openclaw
# ─── Redis ────────────────────────────────────────────────
OPENCLAW_REDIS_URL=redis://localhost:6379/0
# ─── Auth ─────────────────────────────────────────────────
# REQUIRED in production. Generate with:
# python -c "import secrets; print(secrets.token_urlsafe(32))"
OPENCLAW_JWT_SECRET=change-me-in-production
OPENCLAW_JWT_ALGORITHM=HS256
OPENCLAW_ACCESS_TOKEN_EXPIRE_MINUTES=60
OPENCLAW_REFRESH_TOKEN_EXPIRE_DAYS=30
# ─── Server ──────────────────────────────────────────────
OPENCLAW_ENVIRONMENT=development
OPENCLAW_DEBUG=false
OPENCLAW_HOST=0.0.0.0
OPENCLAW_PORT=8000
# ─── CORS ─────────────────────────────────────────────────
# JSON array of allowed origins
OPENCLAW_CORS_ORIGINS=["http://localhost:5173","http://localhost:3000"]
# ─── Rate Limiting ────────────────────────────────────────
OPENCLAW_RATE_LIMIT_RPM=100
OPENCLAW_RATE_LIMIT_AUTH_RPM=10
# ─── Agent ────────────────────────────────────────────────
OPENCLAW_ANTHROPIC_API_KEY=
OPENCLAW_DEFAULT_ADAPTER=claude_code
OPENCLAW_DEFAULT_AGENT_MODEL=claude-sonnet-4-20250514
OPENCLAW_MAX_CONCURRENT_AGENTS=32
OPENCLAW_AGENT_TIMEOUT_SECONDS=1800
# ─── MCP Server ──────────────────────────────────────────
# Path to MCP server (auto-detected if empty)
OPENCLAW_MCP_SERVER_PATH=
# ─── Docker Production ───────────────────────────────────
# Used by docker-compose.prod.yml
POSTGRES_PASSWORD=openclaw_prod