Merge 91b4a2a44b into 6126ede963
This commit is contained in:
commit
83080c7cc3
1 changed files with 10 additions and 4 deletions
|
|
@ -10,9 +10,12 @@ services:
|
||||||
container_name: picoclaw-agent-full
|
container_name: picoclaw-agent-full
|
||||||
profiles:
|
profiles:
|
||||||
- agent
|
- agent
|
||||||
|
environment:
|
||||||
|
# Allow overriding the default home directory via environment variable
|
||||||
|
- PICOCLAW_HOME=${PICOCLAW_HOME:-/root/.picoclaw}
|
||||||
volumes:
|
volumes:
|
||||||
- ../config/config.json:/root/.picoclaw/config.json:ro
|
- ../config/config.json:${PICOCLAW_HOME:-/root/.picoclaw}/config.json:ro
|
||||||
- picoclaw-workspace:/root/.picoclaw/workspace
|
- picoclaw-workspace:${PICOCLAW_HOME:-/root/.picoclaw}/workspace
|
||||||
- picoclaw-npm-cache:/root/.npm # npm cache for faster MCP server installs
|
- picoclaw-npm-cache:/root/.npm # npm cache for faster MCP server installs
|
||||||
entrypoint: ["picoclaw", "agent"]
|
entrypoint: ["picoclaw", "agent"]
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|
@ -30,11 +33,14 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
profiles:
|
profiles:
|
||||||
- gateway
|
- gateway
|
||||||
|
environment:
|
||||||
|
# Allow overriding the default home directory via environment variable
|
||||||
|
- PICOCLAW_HOME=${PICOCLAW_HOME:-/root/.picoclaw}
|
||||||
volumes:
|
volumes:
|
||||||
# Configuration file
|
# Configuration file
|
||||||
- ../config/config.json:/root/.picoclaw/config.json:ro
|
- ../config/config.json:${PICOCLAW_HOME:-/root/.picoclaw}/config.json:ro
|
||||||
# Persistent workspace (sessions, memory, logs)
|
# Persistent workspace (sessions, memory, logs)
|
||||||
- picoclaw-workspace:/root/.picoclaw/workspace
|
- picoclaw-workspace:${PICOCLAW_HOME:-/root/.picoclaw}/workspace
|
||||||
# NPM cache for faster MCP server installs
|
# NPM cache for faster MCP server installs
|
||||||
- picoclaw-npm-cache:/root/.npm
|
- picoclaw-npm-cache:/root/.npm
|
||||||
command: ["gateway"]
|
command: ["gateway"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue