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
@@ -27,7 +27,7 @@ nowchess:
internal:
secret: 123abc
tournament:
service-url: http://localhost:8086
service-url: http://localhost:8088
"%deployed":
quarkus:
@@ -52,4 +52,4 @@ nowchess:
internal:
secret: ${INTERNAL_SECRET}
tournament:
service-url: ${TOURNAMENT_SERVICE_URL:http://localhost:8086}
service-url: ${TOURNAMENT_SERVICE_URL:http://localhost:8088}