-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy path.env.docker.example
More file actions
68 lines (57 loc) · 2.59 KB
/
Copy path.env.docker.example
File metadata and controls
68 lines (57 loc) · 2.59 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
# Docker Worker / Lead Agent Environment Variables
# Copy this file to .env.docker and fill in your values
# Full reference: docs/ENVS.md
# ---- Required ----
# Run `claude setup-token` to get your OAuth token
CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here
API_KEY=your-api-key-here
# ---- Agent Identity ----
# Keep AGENT_ID stable across restarts for task resume and identity persistence
AGENT_ID=
AGENT_NAME=
AGENT_ROLE=worker # "worker" or "lead"
# Docker Compose agent IDs (required by docker-compose.example.yml)
# Generate a different UUID for every value with `uuidgen`, paste it below once,
# and keep it stable across restarts so each agent can resume its own tasks.
LEAD_AGENT_ID=
WORKER_1_AGENT_ID=
WORKER_2_AGENT_ID=
CONTENT_WRITER_AGENT_ID=
CONTENT_REVIEWER_AGENT_ID=
CONTENT_STRATEGIST_AGENT_ID=
UX_PRINCIPLES_AGENT_ID=
DISCOVERABILITY_AGENT_ID=
# ---- Networking ----
MCP_BASE_URL=http://host.docker.internal:3013
SWARM_URL=swarm.example.com # Base domain for service discovery
# Host ports for exposed services (used in docker-compose.example.yml).
# These names and defaults are examples — adjust to fit your setup.
# In isolated environments (each container in its own network namespace),
# you can map all services to the same port (e.g. 3000:3000).
# LEAD_PORT=3020
# WORKER1_PORT=3021
# WORKER2_PORT=3022
# ---- Behavior ----
YOLO=false # Keep spawning sessions even if one fails
# MAX_CONCURRENT_TASKS=1 # Parallel tasks (default: 1 for worker, 2 for lead)
# SHUTDOWN_TIMEOUT=30000 # Grace period (ms) before pausing tasks on shutdown
# ---- Logging ----
# SESSION_ID= # Reuse to continue logging to the same folder
# LOG_DIR=/logs # Base directory for session logs
# ---- System Prompt (optional) ----
SYSTEM_PROMPT=
SYSTEM_PROMPT_FILE=
# ---- Templates (optional) ----
# TEMPLATE_ID=official/coder # Template for initial profile (fetched on first boot)
# TEMPLATE_REGISTRY_URL=https://templates.agent-swarm.dev
# ---- Startup ----
STARTUP_SCRIPT_STRICT=true # Exit if startup script fails
# ---- GitHub (for git operations) ----
GITHUB_TOKEN= # Personal access token for gh CLI and git push
GITHUB_EMAIL=worker-agent@desplega.ai # Git commit email
GITHUB_NAME=Worker Agent # Git commit name
# ---- Sentry (optional) ----
# Create an Organization Auth Token at https://sentry.io/settings/{org}/auth-tokens/
# Required scopes: event:read, project:read, org:read
SENTRY_AUTH_TOKEN=
SENTRY_ORG=