Files
caddy-proxy-manager/docker/l4-port-manager/Dockerfile
akanealw 99819b70ff
Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
added caddy-proxy-manager for testing
2026-04-21 22:49:08 +00:00

16 lines
560 B
Docker
Executable File

FROM docker:cli
# Only need docker compose CLI and basic shell tools
RUN apk add --no-cache bash
COPY docker/l4-port-manager/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Runs as root intentionally: this sidecar executes `docker compose` to
# recreate the caddy container and writes status files to the shared
# caddy-manager-data volume (owned by the web container's UID).
# Access to the Docker API is scoped via the docker-socket-proxy service
# which restricts to GET/POST on /containers/ and /compose/ only.
ENTRYPOINT ["/entrypoint.sh"]