diff --git a/Dockerfile b/Dockerfile index 51f61cf..6294aa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.7.4-builder-alpine@sha256:43c5546a66c80f9849eba0fcd513efa91d044b4a0bed30db8602df07a8a66ef2 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.7.4-alpine@sha256:a4b2a603c5f188268fa63c56b000e6198508f290789d811e237e07d99dddc28d +FROM caddy:2.7.4-alpine@sha256:edb00a586049fdfce27c79f38212bde1ddff25bab10d04925e7931da5bdea14c 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 12887fe..26d50df 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.7.4-alpine@sha256:a4b2a603c5f188268fa63c56b000e6198508f290789d811e237e07d99dddc28d + image: caddy:2.7.4-alpine@sha256:edb00a586049fdfce27c79f38212bde1ddff25bab10d04925e7931da5bdea14c restart: unless-stopped networks: - caddy