diff --git a/Dockerfile b/Dockerfile index b67cf12..e06d4f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.7.5-builder-alpine@sha256:a51593964dcf5b43b549589e0e77d0dec7a1c3491fb5054a8e1e93e22505d1a6 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.7.5-alpine@sha256:92161de201f3335fdada7a8a0c26280d692309995c1a57dcc2c9a9f290c173b6 +FROM caddy:2.7.5-alpine@sha256:8e3595ce7a7ebd91a4e91eb41ee367a10e18eb9a711fb28e47f611a7882b3dcc 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 472c3c9..08f2ffb 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.7.5-alpine@sha256:92161de201f3335fdada7a8a0c26280d692309995c1a57dcc2c9a9f290c173b6 + image: caddy:2.7.5-alpine@sha256:8e3595ce7a7ebd91a4e91eb41ee367a10e18eb9a711fb28e47f611a7882b3dcc restart: unless-stopped networks: - caddy