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:
parent
0a433eca40
commit
0467e17032
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue