diff --git a/infra/docker-compose.yml b/infra/docker-compose.yml index 46c7ee1..78a5e47 100644 --- a/infra/docker-compose.yml +++ b/infra/docker-compose.yml @@ -41,6 +41,12 @@ services: HIY_BUILD_SCRIPT: /app/builder/build.sh CADDY_API_URL: http://caddy:2019 DOCKER_HOST: tcp://podman-proxy:2375 + # CONTAINER_HOST is the Podman-native equivalent of DOCKER_HOST. + # Setting it makes `podman` automatically operate in remote mode and + # delegate all builds/runs to the host's Podman service via the proxy, + # instead of trying to run Podman locally inside this container (which + # would fail: no user-namespace support in an unprivileged container). + CONTAINER_HOST: tcp://podman-proxy:2375 RUST_LOG: hiy_server=debug,tower_http=info depends_on: caddy: