feat(tournament): seed external server registry from env var on startup
Build & Test (NowChessSystems) TeamCity build was queued

TOURNAMENT_EXTERNAL_SERVERS (comma-separated URLs) is loaded into
TournamentServerRegistry at startup so the bot can park on all servers
and replication targets are known without manual API calls after each restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janis Eccarius
2026-06-21 21:33:57 +02:00
parent 5b000a6e5f
commit 845dc9c293
3 changed files with 17 additions and 3 deletions
@@ -29,6 +29,7 @@ nowchess:
secret: ${INTERNAL_SECRET:123abc}
tournament:
self-url: ""
external-servers: ""
mp:
jwt:
@@ -51,6 +52,7 @@ mp:
nowchess:
tournament:
self-url: ${TOURNAMENT_SELF_URL:}
external-servers: ${TOURNAMENT_EXTERNAL_SERVERS:}
"%test":
quarkus: