feat: Caddy 监听端口可配置 — CADDY_HTTP_PORT/CADDY_HTTPS_PORT

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 09:15:11 +08:00
parent 14771556fd
commit 27187997b3
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ services:
container_name: cyrene_caddy
image: caddy:2-alpine
ports:
- "80:80"
- "443:443"
- "${CADDY_HTTP_PORT:-80}:80"
- "${CADDY_HTTPS_PORT:-443}:443"
environment:
DOMAIN: ${DOMAIN:-}
ACME_EMAIL: ${ACME_EMAIL:-admin@localhost}