chore: Port over Caddy internal stack
This commit is contained in:
parent
d1e9635166
commit
126147fcb4
7 changed files with 125 additions and 2 deletions
8
hosts/andromeda/stacks/caddy/volume/Caddyfile
Normal file
8
hosts/andromeda/stacks/caddy/volume/Caddyfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
hofers.cloud, *.hofers.cloud {
|
||||
tls {
|
||||
dns cloudflare {env.CF_API_TOKEN}
|
||||
resolvers 1.1.1.1
|
||||
}
|
||||
|
||||
reverse_proxy /* 127.0.0.1:8000
|
||||
}
|
8
hosts/andromeda/stacks/caddy/volume/Dockerfile
Normal file
8
hosts/andromeda/stacks/caddy/volume/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM caddy:2.10.0-builder AS caddy-builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/caddy-dns/cloudflare
|
||||
|
||||
FROM caddy:2.10.0-alpine
|
||||
|
||||
COPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddy
|
Loading…
Add table
Add a link
Reference in a new issue