From 31ad67dd343300d7032fb1ae5aeded7e2c11c5c1 Mon Sep 17 00:00:00 2001 From: zhangsz Date: Fri, 10 Jan 2025 15:17:34 +0800 Subject: [PATCH] fix: wfc-nginx create after wfc-auth --- build/docker/docker-compose.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/build/docker/docker-compose.yml b/build/docker/docker-compose.yml index f2d4619..44f8b80 100644 --- a/build/docker/docker-compose.yml +++ b/build/docker/docker-compose.yml @@ -90,9 +90,6 @@ services: condition: service_healthy wfc-nacos: condition: service_healthy - # links: - # - wfc-redis - # - wfc-nacos environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -125,8 +122,6 @@ services: condition: service_healthy wfc-nacos: condition: service_healthy - # links: - # - wfc-redis environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -163,9 +158,6 @@ services: condition: service_healthy wfc-gateway: condition: service_healthy - # links: - # - wfc-redis - # - wfc-mysql environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -196,9 +188,6 @@ services: condition: service_healthy wfc-gateway: condition: service_healthy - # links: - # - wfc-redis - # - wfc-mysql environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -252,8 +241,6 @@ services: condition: service_healthy wfc-gateway: condition: service_healthy - # links: - # - wfc-mysql environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -286,9 +273,6 @@ services: condition: service_healthy wfc-gateway: condition: service_healthy - # links: - # - wfc-redis - # - wfc-mysql environment: - NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME} - NACOS_NAME_SPACE=${NACOS_NAME_SPACE} @@ -315,10 +299,10 @@ services: - ./nginx/logs:/var/log/nginx - ./nginx/conf.d:/etc/nginx/conf.d depends_on: + wfc-auth: + condition: service_healthy wfc-gateway: condition: service_healthy - # links: - # - wfc-gateway environment: - GATEWAY_SERVER_IP=${GATEWAY_SERVER_IP} - GATEWAY_SERVER_PORT=${GATEWAY_SERVER_PORT}