services:
claude-agent:
build: .
container_name: claude-persistent-agent
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./logs:/app/logs
- ./tasks:/app/tasks
- claude-auth:/root/.claude
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
- claude-agent-network
claude-agent-network:
driver: bridge
claude-auth:
data:
logs:
tasks: