diff --git a/Dockerfile b/Dockerfile index 9564a21..f79c5b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.9.1-builder-alpine@sha256:ca7cf1f32bfd454db7517326d4282b6aa9794843e492f5d29a051d8758874d0b AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.9.1-alpine@sha256:1131a7f215fdcbf0543a7096fceddd2304f14608b3c2c852224f3ee6b3dd6a80 +FROM caddy:2.9.1-alpine@sha256:e70ccf0c9821a88303671ef22d7b5e2d2b6057a8b18703022d755ba4d5fd35cd 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 d6493b0..db7a1f4 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.9.1-alpine@sha256:1131a7f215fdcbf0543a7096fceddd2304f14608b3c2c852224f3ee6b3dd6a80 + image: caddy:2.9.1-alpine@sha256:e70ccf0c9821a88303671ef22d7b5e2d2b6057a8b18703022d755ba4d5fd35cd restart: unless-stopped networks: - caddy