Added Caddy docker-proxy + OVH variant image
This commit is contained in:
parent
89b3cbfa1c
commit
73dc75c9ca
14
README.adoc
14
README.adoc
@ -28,7 +28,19 @@ docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-du
|
|||||||
Existing pre-built images :
|
Existing pre-built images :
|
||||||
|
|
||||||
* git.syyrell.com/syrell/caddy-duckdns:2.7.6
|
* git.syyrell.com/syrell/caddy-duckdns:2.7.6
|
||||||
* git.syyrell.com/syrell/caddy-arm-duckdns:2.7.6
|
|
||||||
|
=== caddy-docker-ovh.Dockerfile
|
||||||
|
|
||||||
|
Caddy base image with https://github.com/caddy-dns/ovh[OVH module] and https://github.com/lucaslorentz/caddy-docker-proxy[docker-proxy module] added. There is a `CADDY_VERSION` variable (default: latest) to chose which Caddy version to use.
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
|
----
|
||||||
|
docker build --build-arg CADDY_VERSION=2.7.6 -f ./caddy-docker-ovh.Dockerfile -t caddy-docker-ovh:2.7.6 .
|
||||||
|
----
|
||||||
|
|
||||||
|
Existing pre-built images :
|
||||||
|
|
||||||
|
* git.syyrell.com/syrell/caddy-docker-ovh:2.7.6
|
||||||
|
|
||||||
=== gitea-external-renderers.Dockerfile
|
=== gitea-external-renderers.Dockerfile
|
||||||
|
|
||||||
|
11
caddy-docker-ovh.Dockerfile
Normal file
11
caddy-docker-ovh.Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
ARG CADDY_VERSION=latest
|
||||||
|
FROM caddy:${CADDY_VERSION}-builder AS builder
|
||||||
|
|
||||||
|
RUN xcaddy build \
|
||||||
|
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
|
||||||
|
--with github.com/caddy-dns/ovh
|
||||||
|
|
||||||
|
FROM caddy:${CADDY_VERSION}
|
||||||
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
|
|
||||||
|
CMD ["caddy", "docker-proxy"]
|
Loading…
Reference in New Issue
Block a user