[ADD]Caddy
This commit is contained in:
parent
260f3a0637
commit
c2d7794835
8
caddy/Dockerfile
Normal file
8
caddy/Dockerfile
Normal 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
8
caddy/base.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
|
||||||
|
caddy:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
image: registry.yaltik.net/caddy:yaltik
|
Loading…
x
Reference in New Issue
Block a user