fix(docker-compose.2.0): 移除对外部基础设施服务的depends_on

2.0服务使用external network连接1.0的基础设施,不需要depends_on

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-10 23:18:20 -08:00
parent 0a433eca40
commit 0467e17032
1 changed files with 0 additions and 50 deletions

View File

@ -26,13 +26,6 @@ services:
context: ./contribution-service context: ./contribution-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-contribution-service container_name: rwa-contribution-service
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
kafka:
condition: service_healthy
environment: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai
@ -66,15 +59,6 @@ services:
context: ./mining-service context: ./mining-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-mining-service 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: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai
@ -105,15 +89,6 @@ services:
context: ./trading-service context: ./trading-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-trading-service 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: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai
@ -146,21 +121,6 @@ services:
context: ./mining-admin-service context: ./mining-admin-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-mining-admin-service 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: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai
@ -203,13 +163,6 @@ services:
context: ./auth-service context: ./auth-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-auth-service container_name: rwa-auth-service
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
kafka:
condition: service_healthy
environment: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai
@ -255,9 +208,6 @@ services:
context: ../../frontend/mining-admin-web context: ../../frontend/mining-admin-web
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: rwa-mining-admin-web container_name: rwa-mining-admin-web
depends_on:
mining-admin-service:
condition: service_healthy
environment: environment:
NODE_ENV: production NODE_ENV: production
TZ: Asia/Shanghai TZ: Asia/Shanghai