diff --git a/Dockerfile b/Dockerfile index 89393e9..ee8cb56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.7.4-builder-alpine@sha256:a63ec66814b5f50a337d0e22d8987bf5af7a006b4f0c1717d6daa185b9eac0f6 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.7.4-alpine@sha256:49d271e21cfd05c0c24ee7f074956d8a6d623d49436a15bd88662846a31ee050 +FROM caddy:2.7.4-alpine@sha256:a4b2a603c5f188268fa63c56b000e6198508f290789d811e237e07d99dddc28d COPY --from=builder /usr/bin/caddy /usr/bin/caddy CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"] diff --git a/example/compose.yml b/example/compose.yml index 0b930cd..12887fe 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.7.4-alpine@sha256:49d271e21cfd05c0c24ee7f074956d8a6d623d49436a15bd88662846a31ee050 + image: caddy:2.7.4-alpine@sha256:a4b2a603c5f188268fa63c56b000e6198508f290789d811e237e07d99dddc28d restart: unless-stopped networks: - caddy