Update docker-compose.yml
This commit is contained in:
parent
d8b0913612
commit
e00b112da1
1 changed files with 3 additions and 7 deletions
|
|
@ -1,28 +1,23 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
claude-agent:
|
||||
build: .
|
||||
container_name: claude-persistent-agent
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
- ./tasks:/app/tasks
|
||||
- ~/.claude:/root/.claude
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- claude-auth:/root/.claude
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
- CLAUDE_API_KEY=${CLAUDE_API_KEY}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
start_period: 60s
|
||||
networks:
|
||||
- claude-agent-network
|
||||
|
||||
|
|
@ -31,6 +26,7 @@ networks:
|
|||
driver: bridge
|
||||
|
||||
volumes:
|
||||
claude-auth:
|
||||
data:
|
||||
logs:
|
||||
tasks:
|
||||
|
|
|
|||
Reference in a new issue