From da37378181dd2deabd229aa6cd27a0ebbc4080e6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:58:43 -0500 Subject: [PATCH] deploy/night: testnet nodes share one egress IP for the wikimedia client (#62) Co-Authored-By: Claude Opus 5.5 --- deploy/night/compose.lan.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/night/compose.lan.yaml b/deploy/night/compose.lan.yaml index a4e3a8d..c0f3790 100644 --- a/deploy/night/compose.lan.yaml +++ b/deploy/night/compose.lan.yaml @@ -1,12 +1,16 @@ # sim-testnet override: publish the fixture on r350's LAN address only (not 0.0.0.0). # WIKIDECK_USER_AGENT identifies the testnet to Wikimedia (UA policy; no personal contact info). # Game-mode env (modes team, #6) is inert until night/modes/hosting merges. +# WIKIDECK_WIKIMEDIA_NODES_PER_IP / WIKIDECK_OPERATOR_CONTACT (#62): the 3 nodes share one egress IP, so the +# polite client splits its rate and daily cap 3 ways. Inert until the wikimedia client merges. services: node-a: ports: !override ["192.168.1.32:3101:3001"] environment: PUBLIC_ORIGIN: http://192.168.1.32:3101 WIKIDECK_USER_AGENT: &ua WikiDeck-testnet/0.1 (https://gitea.eom.dev/claude/wikideck; private testnet) + WIKIDECK_WIKIMEDIA_NODES_PER_IP: &perip "3" + WIKIDECK_OPERATOR_CONTACT: &contact https://gitea.eom.dev/claude/wikideck WIKIDECK_MODES: classic,trending WIKIDECK_GAME_OPERATOR: Testnet A WIKIDECK_GAME_PEERS: http://192.168.1.32:3102,http://192.168.1.32:3103 @@ -15,6 +19,8 @@ services: environment: PUBLIC_ORIGIN: http://192.168.1.32:3102 WIKIDECK_USER_AGENT: *ua + WIKIDECK_WIKIMEDIA_NODES_PER_IP: *perip + WIKIDECK_OPERATOR_CONTACT: *contact WIKIDECK_MODES: draft WIKIDECK_GAME_OPERATOR: Testnet B WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3103 @@ -23,6 +29,8 @@ services: environment: PUBLIC_ORIGIN: http://192.168.1.32:3103 WIKIDECK_USER_AGENT: *ua + WIKIDECK_WIKIMEDIA_NODES_PER_IP: *perip + WIKIDECK_OPERATOR_CONTACT: *contact WIKIDECK_MODES: classic,trending,draft WIKIDECK_GAME_OPERATOR: Testnet C WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3102 -- 2.54.0