fix: update shm_size configuration and improve browser arguments in docker-compose

This commit is contained in:
Kristjan Kruus 2026-03-23 16:23:58 +02:00
parent b1d1c56970
commit e501c0a169

View file

@ -6,6 +6,7 @@ services:
picoclaw-agent: picoclaw-agent:
image: docker.io/sipeed/picoclaw:latest image: docker.io/sipeed/picoclaw:latest
container_name: picoclaw-agent container_name: picoclaw-agent
shm_size: '4gb'
profiles: profiles:
- agent - agent
# Uncomment to access host network; leave commented unless needed. # Uncomment to access host network; leave commented unless needed.
@ -29,6 +30,8 @@ services:
dockerfile: docker/Dockerfile.heavy dockerfile: docker/Dockerfile.heavy
container_name: picoclaw-gateway-full container_name: picoclaw-gateway-full
restart: unless-stopped restart: unless-stopped
init: true
shm_size: '4gb'
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
@ -36,7 +39,7 @@ services:
- AGENT_BROWSER_PROFILE=/root/.picoclaw/workspace/browser/picoclaw - AGENT_BROWSER_PROFILE=/root/.picoclaw/workspace/browser/picoclaw
- AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium - AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium
- AGENT_BROWSER_HEADED=true - AGENT_BROWSER_HEADED=true
- AGENT_BROWSER_ARGS=--no-sandbox,--disable-blink-features=AutomationControlled - AGENT_BROWSER_ARGS=--no-sandbox,--disable-dev-shm-usage,--disable-blink-features=AutomationControlled
- DISPLAY=:99 - DISPLAY=:99
- BSKY_HANDLE=${BSKY_HANDLE} - BSKY_HANDLE=${BSKY_HANDLE}
- BSKY_APP_PASSWORD=${BSKY_APP_PASSWORD} - BSKY_APP_PASSWORD=${BSKY_APP_PASSWORD}