added configurable modes to caddy http/https

This commit is contained in:
Jakub Dorfman 2026-08-19 21:16:12 +02:00
parent c3989114b8
commit 43db707e34
3 changed files with 21 additions and 8 deletions

View file

@ -63,6 +63,10 @@ services:
- "8080:8080"
environment:
DOMAIN: ${DOMAIN:-localhost}
# Scheme used in Caddyfile site addresses. "http" = plain HTTP on :8080
# (matches the ORIGIN vars below). Switch to "https" only if you also
# update ORIGIN/PUBLIC_* URLs and provide a cert issuer.
CADDY_SCHEME: ${CADDY_SCHEME:-http}
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,Z
depends_on: