diff --git a/docker/docker-compose.full.yml b/docker/docker-compose.full.yml index 6f34448c4..ba1533abb 100644 --- a/docker/docker-compose.full.yml +++ b/docker/docker-compose.full.yml @@ -10,6 +10,8 @@ services: container_name: picoclaw-agent-full profiles: - agent + environment: + - PICOCLAW_HOME=/root/.picoclaw volumes: - ../config/config.json:/root/.picoclaw/config.json:ro - picoclaw-workspace:/root/.picoclaw/workspace @@ -30,6 +32,8 @@ services: restart: unless-stopped profiles: - gateway + environment: + - PICOCLAW_HOME=/root/.picoclaw volumes: # Configuration file - ../config/config.json:/root/.picoclaw/config.json:ro diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0bf46a2ae..a7d708d14 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -11,6 +11,8 @@ services: # Uncomment to access host network; leave commented unless needed. #extra_hosts: # - "host.docker.internal:host-gateway" + environment: + - PICOCLAW_HOME=/root/.picoclaw volumes: - ./data:/root/.picoclaw entrypoint: ["picoclaw", "agent"] @@ -30,6 +32,8 @@ services: # Uncomment to access host network; leave commented unless needed. #extra_hosts: # - "host.docker.internal:host-gateway" + environment: + - PICOCLAW_HOME=/root/.picoclaw volumes: - ./data:/root/.picoclaw @@ -45,6 +49,7 @@ services: - launcher environment: - PICOCLAW_GATEWAY_HOST=0.0.0.0 + - PICOCLAW_HOME=/root/.picoclaw ports: - "127.0.0.1:18800:18800" - "127.0.0.1:18790:18790"