From 0467e170324a6191fad6c1ccd027821de49beee0 Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 10 Jan 2026 23:18:20 -0800 Subject: [PATCH] =?UTF-8?q?fix(docker-compose.2.0):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=AF=B9=E5=A4=96=E9=83=A8=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=9A=84depends=5Fon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2.0服务使用external network连接1.0的基础设施,不需要depends_on Co-Authored-By: Claude Opus 4.5 --- backend/services/docker-compose.2.0.yml | 50 ------------------------- 1 file changed, 50 deletions(-) diff --git a/backend/services/docker-compose.2.0.yml b/backend/services/docker-compose.2.0.yml index 22e17670..42a12b41 100644 --- a/backend/services/docker-compose.2.0.yml +++ b/backend/services/docker-compose.2.0.yml @@ -26,13 +26,6 @@ services: context: ./contribution-service dockerfile: Dockerfile container_name: rwa-contribution-service - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - kafka: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai @@ -66,15 +59,6 @@ services: context: ./mining-service dockerfile: Dockerfile container_name: rwa-mining-service - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - kafka: - condition: service_healthy - contribution-service: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai @@ -105,15 +89,6 @@ services: context: ./trading-service dockerfile: Dockerfile container_name: rwa-trading-service - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - kafka: - condition: service_healthy - mining-service: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai @@ -146,21 +121,6 @@ services: context: ./mining-admin-service dockerfile: Dockerfile container_name: rwa-mining-admin-service - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - kafka: - condition: service_healthy - contribution-service: - condition: service_healthy - mining-service: - condition: service_healthy - trading-service: - condition: service_healthy - auth-service: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai @@ -203,13 +163,6 @@ services: context: ./auth-service dockerfile: Dockerfile container_name: rwa-auth-service - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - kafka: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai @@ -255,9 +208,6 @@ services: context: ../../frontend/mining-admin-web dockerfile: Dockerfile container_name: rwa-mining-admin-web - depends_on: - mining-admin-service: - condition: service_healthy environment: NODE_ENV: production TZ: Asia/Shanghai