update config based on feedback

This commit is contained in:
Christoforus Surjoputro 2026-03-23 17:17:57 +07:00
parent 32846926c1
commit c79e18fc4b

View file

@ -11,17 +11,21 @@ services:
userns_mode: "keep-id" userns_mode: "keep-id"
user: "${UID:-1000}:${GID:-1000}" user: "${UID:-1000}:${GID:-1000}"
container_name: picoclaw-agent container_name: picoclaw-agent
# default: turns off SELinux for easier to run and test
# change or remove label=disable on production and employ seccomp policy instead
security_opt: security_opt:
- label=disable - label=disable
profiles: profiles:
- agent - agent
# Uncomment to access host network; leave commented unless needed. # Uncomment to access host network; leave commented unless needed.
#extra_hosts: #extra_hosts:
# - "host.docker.internal:host-gateway" # - "host.docker.internal:host-gateway"
environment:
- PICOCLAW_HOME=/home/picoclaw/.picoclaw
# Uncomment to make healtcheck works on podman pod model
# - PICOCLAW_GATEWAY_HOST=0.0.0.0
volumes: volumes:
- ./data:/home/picoclaw/.picoclaw:Z - ./data:/home/picoclaw/.picoclaw:Z
environment:
- PICOCLAW_GATEWAY_HOST=0.0.0.0 # needed to make healtcheck works on podman pod model
entrypoint: ["picoclaw", "agent"] entrypoint: ["picoclaw", "agent"]
stdin_open: true stdin_open: true
tty: true tty: true
@ -37,6 +41,8 @@ services:
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
userns_mode: "keep-id" userns_mode: "keep-id"
user: "${UID:-1000}:${GID:-1000}" user: "${UID:-1000}:${GID:-1000}"
# default: turns off SELinux for easier to run and test
# change or remove label=disable on production and employ seccomp policy instead
security_opt: security_opt:
- label=disable - label=disable
container_name: picoclaw-gateway container_name: picoclaw-gateway
@ -45,8 +51,10 @@ services:
- gateway - gateway
# Uncomment to access host network; leave commented unless needed. # Uncomment to access host network; leave commented unless needed.
#extra_hosts: #extra_hosts:
# - "host.docker.internal:host-gateway" # - "host.docker.internal:host-gateway"
environment: environment:
- PICOCLAW_GATEWAY_HOST=0.0.0.0 # needed to make healtcheck works on podman pod model - PICOCLAW_HOME=/home/picoclaw/.picoclaw
# Uncomment to make healtcheck works on podman pod model
# - PICOCLAW_GATEWAY_HOST=0.0.0.0
volumes: volumes:
- ./data:/home/picoclaw/.picoclaw:Z - ./data:/home/picoclaw/.picoclaw:Z