-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 1.15 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
services:
icron:
build: .
container_name: icron
restart: unless-stopped
# Use the restart-aware entrypoint for MCP server installation support
entrypoint: ["/entrypoint.sh"]
volumes:
# Mount local config directly for easy editing
- ~/.icron:/root/.icron
# Persist workspace (memory, skills, TOOLS.md, etc.) - bind mount for host visibility
- ~/.icron/workspace:/app/workspace
environment:
# Set your API keys here or in .env file
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
# Workspace path inside container
- ICRON_WORKSPACE=/app/workspace
ports:
# Gateway port (optional, for HTTP API)
- "3883:3883"
# Health check for monitoring
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3883/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# Security options
security_opt:
- no-new-privileges:true
# For WhatsApp bridge headless browser support
# Uncomment if using WhatsApp channel
# shm_size: '2gb'