From 921db616e5f1317cf0e10ec068766fd7a699627b Mon Sep 17 00:00:00 2001 From: xuqinmin12 Date: Fri, 12 Jun 2026 19:09:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=86=85=E9=83=A8=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=8F=98=E9=87=8F=E5=8C=96=EF=BC=88SVC=5FPOR?= =?UTF-8?q?T=5FTENANT/FILE/WEB/IM/PUSH/UPDATE/LICENSE=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7f25e03..9c38f6c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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