[ADD]Caddy

This commit is contained in:
Fabien BOURGEOIS 2022-02-20 20:59:42 +01:00
parent 260f3a0637
commit c2d7794835
2 changed files with 16 additions and 0 deletions

8
caddy/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM caddy:2-builder AS builder
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
RUN xcaddy build \
--with github.com/caddyserver/format-encoder
FROM caddy:2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

8
caddy/base.yml Normal file
View File

@ -0,0 +1,8 @@
version: '2.4'
services:
caddy:
build:
context: .
dockerfile: Dockerfile
image: registry.yaltik.net/caddy:yaltik