update config based on feedback
This commit is contained in:
parent
32846926c1
commit
c79e18fc4b
1 changed files with 13 additions and 5 deletions
|
|
@ -11,6 +11,8 @@ 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:
|
||||||
|
|
@ -18,10 +20,12 @@ services:
|
||||||
# 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
|
||||||
|
|
@ -47,6 +53,8 @@ services:
|
||||||
#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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue