feat(deploy): Caddy 对外端口支持 HTTP_PORT / HTTPS_PORT 配置

This commit is contained in:
2026-10-13 10:39:12 +08:00
parent 2dbd625e87
commit c0051cff03
4 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -88,8 +88,8 @@ services:
context: .
target: proxy
ports:
- "80:80"
- "443:443"
- "${HTTP_PORT:-80}:80"
- "${HTTPS_PORT:-443}:443"
depends_on:
- server
restart: unless-stopped