diff --git a/backend/docker-compose.windows.yml b/backend/docker-compose.windows.yml index 8a442dab..33611fae 100644 --- a/backend/docker-compose.windows.yml +++ b/backend/docker-compose.windows.yml @@ -675,6 +675,8 @@ services: KAFKA_GROUP_ID: authorization-service-group REFERRAL_SERVICE_URL: http://referral-service:3004 REFERRAL_SERVICE_ENABLED: "true" + IDENTITY_SERVICE_URL: http://identity-service:3000 + IDENTITY_SERVICE_ENABLED: "true" depends_on: postgres: condition: service_healthy diff --git a/backend/services/docker-compose.yml b/backend/services/docker-compose.yml index aeadc6e2..935830b8 100644 --- a/backend/services/docker-compose.yml +++ b/backend/services/docker-compose.yml @@ -496,6 +496,9 @@ services: # Referral Service - 用于获取团队统计数据 - REFERRAL_SERVICE_URL=http://rwa-referral-service:3004 - REFERRAL_SERVICE_ENABLED=true + # Identity Service - 用于获取用户信息(昵称、头像) + - IDENTITY_SERVICE_URL=http://rwa-identity-service:3000 + - IDENTITY_SERVICE_ENABLED=true depends_on: postgres: condition: service_healthy @@ -505,6 +508,8 @@ services: condition: service_started referral-service: condition: service_healthy + identity-service: + condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3009/api/v1/health"] interval: 30s