diff --git a/Dockerfile b/Dockerfile index 4bd49c7..760b869 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.8.4-builder-alpine@sha256:1f3201aa7f4f751c2682d51f2097629b580e50e5ab125fcca26cfb27cc93e383 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.8.4-alpine@sha256:f97df92512fa6d1b58deef4ff8038aa767da289afbbd1d8a8dce3d506f28b8e8 +FROM caddy:2.8.4-alpine@sha256:221bcf3be161b0d856bdb7bea76b42386d732d19348f79692404829532d83f4a 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 861a419..69a9467 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.8.4-alpine@sha256:f97df92512fa6d1b58deef4ff8038aa767da289afbbd1d8a8dce3d506f28b8e8 + image: caddy:2.8.4-alpine@sha256:221bcf3be161b0d856bdb7bea76b42386d732d19348f79692404829532d83f4a restart: unless-stopped networks: - caddy