All in-repo path references (AGENTS.md, README, old scripts, report artifacts,
test code paths) rewritten in the same commit; focused-test map extended for
.gitignore, old/scripts/*, dankclaw/comfyui/*, and report/* per this repo's
own convention ('add one before committing'). Obsidian wikilinks are
title-based and unaffected.
22 lines
959 B
Docker
22 lines
959 B
Docker
# Caddy with the Porkbun DNS provider (github.com/caddy-dns/porkbun).
|
|
#
|
|
# The porkbun module lets Caddy solve Let's Encrypt DNS-01 challenges
|
|
# directly through the Porkbun API, so the wildcard cert for
|
|
# *.franksdank.cloud / *.franksdank.casa can be issued and renewed without
|
|
# any port 80/443 reachability from the internet (see the Caddyfile in
|
|
# ../Caddyfile and serverAppConfigs-docs/Infrastructure/LAN-DNS.md).
|
|
#
|
|
# Build on dankclaw (podman rootless, same as every other container here):
|
|
# podman build -t franksdank/caddy-porkbun:latest -f dankclaw/caddy/Containerfile .
|
|
#
|
|
# The first build runs an xcaddy Go compilation and takes a few minutes.
|
|
# Rebuild only when Caddy or the porkbun module must be updated.
|
|
|
|
FROM docker.io/library/caddy:2-builder AS builder
|
|
|
|
RUN xcaddy build \
|
|
--with github.com/caddy-dns/porkbun \
|
|
--output /usr/bin/caddy-porkbun
|
|
|
|
FROM docker.io/library/caddy:2
|
|
COPY --from=builder /usr/bin/caddy-porkbun /usr/bin/caddy |