fix(docker): add HOME environment variable to docker-compose.full.yml (Closes #2269)
This commit is contained in:
parent
92a69cae80
commit
ffa769f125
2 changed files with 11 additions and 3 deletions
|
|
@ -10,6 +10,10 @@ services:
|
|||
container_name: picoclaw-agent-full
|
||||
profiles:
|
||||
- agent
|
||||
environment:
|
||||
# PicoClaw runs as root in container by default
|
||||
# If running as non-root user, update these paths to match the user's home directory
|
||||
- HOME=/root
|
||||
volumes:
|
||||
- ../config/config.json:/root/.picoclaw/config.json:ro
|
||||
- picoclaw-workspace:/root/.picoclaw/workspace
|
||||
|
|
@ -30,6 +34,10 @@ services:
|
|||
restart: unless-stopped
|
||||
profiles:
|
||||
- gateway
|
||||
environment:
|
||||
# PicoClaw runs as root in container by default
|
||||
# If running as non-root user, update these paths to match the user's home directory
|
||||
- HOME=/root
|
||||
volumes:
|
||||
# Configuration file
|
||||
- ../config/config.json:/root/.picoclaw/config.json:ro
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ services:
|
|||
#extra_hosts:
|
||||
# - "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./data:/root/.picoclaw
|
||||
- ./data:/home/picoclaw/.picoclaw
|
||||
entrypoint: ["picoclaw", "agent"]
|
||||
stdin_open: true
|
||||
tty: true
|
||||
|
|
@ -31,7 +31,7 @@ services:
|
|||
#extra_hosts:
|
||||
# - "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./data:/root/.picoclaw
|
||||
- ./data:/home/picoclaw/.picoclaw
|
||||
|
||||
# ─────────────────────────────────────────────
|
||||
# PicoClaw Launcher (Web Console + Gateway)
|
||||
|
|
@ -52,4 +52,4 @@ services:
|
|||
- "18800:18800"
|
||||
- "18790:18790"
|
||||
volumes:
|
||||
- ./data:/root/.picoclaw
|
||||
- ./data:/home/picoclaw/.picoclaw
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue