fix: correct AGENTS_DIR env var and add swarm volume mount
This commit is contained in:
@@ -1,21 +1,26 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
openclaw-taskboard:
|
||||
taskboard:
|
||||
build: .
|
||||
container_name: openclaw-taskboard
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8395:8395"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- /home/bear/.openclaw/workspace/wiki:/app/wiki
|
||||
- /home/bear/.openclaw/agents:/app/agents:ro
|
||||
- /home/bear/.clawdbot:/app/swarm:ro
|
||||
- /home/bear/.openclaw/openclaw.json:/app/openclaw.json:ro
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=8395
|
||||
- DB_PATH=/app/data/tasks.db
|
||||
- WIKI_DIR=/app/wiki
|
||||
- AGENTS_DIR=/app/agents
|
||||
- SESSIONS_DIR=/app/agents
|
||||
- SWARM_TASKS_FILE=/app/swarm/active-tasks.json
|
||||
- OPENCLAW_CONFIG=/app/config/openclaw.json
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- /home/bear/.openclaw/workspace/wiki:/app/wiki
|
||||
- /home/bear/.openclaw/agents:/app/agents:ro
|
||||
- /home/bear/.clawdbot:/app/swarm:ro
|
||||
- /home/bear/.openclaw/openclaw.json:/app/config/openclaw.json:ro
|
||||
- OPENCLAW_CONFIG=/app/openclaw.json
|
||||
- GITEA_URL=https://gitea.tophermayor.com
|
||||
- GITEA_TOKEN=${GITEA_TOKEN}
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user