feat(docker-compose): add PARTY_ID to server-party-api configuration

- Add explicit PARTY_ID environment variable for delegate party
- Set PARTY_ID=delegate-party for server-party-api service
- This ensures the delegate party properly registers to Message Router party pool
- Enables delegate party selection for keygen sessions with require_delegate=true

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-06 05:17:03 -08:00
parent 5f12404be4
commit b8d66921e0
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ services:
MPC_CRYPTO_MASTER_KEY: ${CRYPTO_MASTER_KEY}
# API 认证密钥 (与 mpc-service 配置的 MPC_API_KEY 一致)
MPC_API_KEY: ${MPC_API_KEY}
# Party identity for Message Router registration
PARTY_ID: delegate-party
depends_on:
session-coordinator:
condition: service_healthy