fix(authorization-service): 添加 identity-service 连接配置
authorization-service 缺少 IDENTITY_SERVICE_URL 和 IDENTITY_SERVICE_ENABLED 环境变量配置,导致无法获取用户信息(昵称、头像)。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e275724359
commit
e4f2a61ecb
|
|
@ -675,6 +675,8 @@ services:
|
||||||
KAFKA_GROUP_ID: authorization-service-group
|
KAFKA_GROUP_ID: authorization-service-group
|
||||||
REFERRAL_SERVICE_URL: http://referral-service:3004
|
REFERRAL_SERVICE_URL: http://referral-service:3004
|
||||||
REFERRAL_SERVICE_ENABLED: "true"
|
REFERRAL_SERVICE_ENABLED: "true"
|
||||||
|
IDENTITY_SERVICE_URL: http://identity-service:3000
|
||||||
|
IDENTITY_SERVICE_ENABLED: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
|
|
@ -496,6 +496,9 @@ services:
|
||||||
# Referral Service - 用于获取团队统计数据
|
# Referral Service - 用于获取团队统计数据
|
||||||
- REFERRAL_SERVICE_URL=http://rwa-referral-service:3004
|
- REFERRAL_SERVICE_URL=http://rwa-referral-service:3004
|
||||||
- REFERRAL_SERVICE_ENABLED=true
|
- REFERRAL_SERVICE_ENABLED=true
|
||||||
|
# Identity Service - 用于获取用户信息(昵称、头像)
|
||||||
|
- IDENTITY_SERVICE_URL=http://rwa-identity-service:3000
|
||||||
|
- IDENTITY_SERVICE_ENABLED=true
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
@ -505,6 +508,8 @@ services:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
referral-service:
|
referral-service:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
identity-service:
|
||||||
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3009/api/v1/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:3009/api/v1/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue