feat: 内部服务端口变量化(SVC_PORT_TENANT/FILE/WEB/IM/PUSH/UPDATE/LICENSE)

这个提交包含在:
xuqinmin12 2026-06-12 19:09:33 +08:00
父节点 c7a2979f7c
当前提交 921db616e5

查看文件

@ -18,7 +18,7 @@ services:
image: ${REGISTRY}/tenant-service:${IMAGE_TAG}
profiles: ["base"]
ports:
- "127.0.0.1:11224:9001"
- "127.0.0.1:${SVC_PORT_TENANT:-11224}:9001"
env_file:
- ./config/xuqm.env # 业务配置:运行模式、域名、功能开关
- ./config/secrets.env # 敏感配置密码、Token
@ -48,7 +48,7 @@ services:
image: ${REGISTRY}/file-service:${IMAGE_TAG}
profiles: ["base"]
ports:
- "127.0.0.1:11225:8086"
- "127.0.0.1:${SVC_PORT_FILE:-11225}:8086"
env_file:
- ./config/xuqm.env
- ./config/secrets.env
@ -73,7 +73,7 @@ services:
image: ${REGISTRY}/tenant-web:${IMAGE_TAG}
profiles: ["base"]
ports:
- "127.0.0.1:11226:80"
- "127.0.0.1:${SVC_PORT_WEB:-11226}:80"
restart: unless-stopped
# ---------------------------------------------------------------------------
@ -106,7 +106,7 @@ services:
image: ${REGISTRY}/im-service:${IMAGE_TAG}
profiles: ["im"]
ports:
- "127.0.0.1:11228:8082"
- "127.0.0.1:${SVC_PORT_IM:-11228}:8082"
env_file:
- ./config/xuqm.env
- ./config/secrets.env
@ -129,7 +129,7 @@ services:
image: ${REGISTRY}/push-service:${IMAGE_TAG}
profiles: ["push"]
ports:
- "127.0.0.1:11229:8083"
- "127.0.0.1:${SVC_PORT_PUSH:-11229}:8083"
env_file:
- ./config/xuqm.env
- ./config/secrets.env
@ -148,7 +148,7 @@ services:
image: ${REGISTRY}/update-service:${IMAGE_TAG}
profiles: ["update"]
ports:
- "127.0.0.1:11230:8084"
- "127.0.0.1:${SVC_PORT_UPDATE:-11230}:8084"
env_file:
- ./config/xuqm.env
- ./config/secrets.env
@ -172,7 +172,7 @@ services:
image: ${REGISTRY}/license-service:${IMAGE_TAG}
profiles: ["license"]
ports:
- "127.0.0.1:11231:8085"
- "127.0.0.1:${SVC_PORT_LICENSE:-11231}:8085"
env_file:
- ./config/xuqm.env
- ./config/secrets.env