diff --git a/Dockerfile b/Dockerfile index 7f9ba59..aaa94e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM caddy:2.6.4-builder-alpine@sha256:0165798e99bd069d563da8d7706fe5e655d288ef9640f4cef8090ef513bd4c21 AS builder RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2 -FROM caddy:2.6.4-alpine@sha256:3bba1ffdf321ffc782f23ce2258b59ebfcec677f60373996c26f720beceff5c3 +FROM caddy:2.6.4-alpine@sha256:0f9eeda08c71f35efbfd0bb738ada870ee06e36d230c6c5dc5a763e9a82a7f3f 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 9f8d6fc..c1aac67 100644 --- a/example/compose.yml +++ b/example/compose.yml @@ -1,6 +1,6 @@ services: example: - image: caddy:2.6.4-alpine@sha256:3bba1ffdf321ffc782f23ce2258b59ebfcec677f60373996c26f720beceff5c3 + image: caddy:2.6.4-alpine@sha256:0f9eeda08c71f35efbfd0bb738ada870ee06e36d230c6c5dc5a763e9a82a7f3f restart: unless-stopped networks: - caddy