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