修改常见默认端口

This commit is contained in:
yml2213
2026-08-04 15:34:34 +08:00
parent 68cf35b272
commit 569109cd92
11 changed files with 46 additions and 34 deletions
+4 -4
View File
@@ -11,7 +11,7 @@ services:
- PGTZ=${TZ:-Asia/Shanghai}
command: ["postgres", "-c", "timezone=${TZ:-Asia/Shanghai}"]
ports:
- "${POSTGRES_PORT:-5432}:5432"
- "${POSTGRES_PORT:-15432}:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
@@ -35,7 +35,7 @@ services:
# 以宿主用户身份运行,日志文件归属正确(宿主机 logs 目录需预先 chown)
user: "${HOST_UID:-1000}:${HOST_GID:-1000}"
ports:
- "8080:8080"
- "${BACKEND_PORT:-18080}:8080"
environment:
- PORT=8080
- TZ=${TZ:-Asia/Shanghai}
@@ -82,8 +82,8 @@ services:
ALPINE_MIRROR: ${ALPINE_MIRROR:-https://mirrors.aliyun.com/alpine}
image: affiliate-caddy:latest
ports:
- "80:80"
- "443:443"
- "${HTTP_PORT:-80}:80"
- "${HTTPS_PORT:-443}:443"
environment:
- TZ=${TZ:-Asia/Shanghai}
volumes: