forked from WikiDeck/wikideck
deploy/night: testnet nodes share one egress IP for the wikimedia client (#62)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,16 @@
|
|||||||
# sim-testnet override: publish the fixture on r350's LAN address only (not 0.0.0.0).
|
# 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).
|
# 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.
|
# 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:
|
services:
|
||||||
node-a:
|
node-a:
|
||||||
ports: !override ["192.168.1.32:3101:3001"]
|
ports: !override ["192.168.1.32:3101:3001"]
|
||||||
environment:
|
environment:
|
||||||
PUBLIC_ORIGIN: http://192.168.1.32:3101
|
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_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_MODES: classic,trending
|
||||||
WIKIDECK_GAME_OPERATOR: Testnet A
|
WIKIDECK_GAME_OPERATOR: Testnet A
|
||||||
WIKIDECK_GAME_PEERS: http://192.168.1.32:3102,http://192.168.1.32:3103
|
WIKIDECK_GAME_PEERS: http://192.168.1.32:3102,http://192.168.1.32:3103
|
||||||
@@ -15,6 +19,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PUBLIC_ORIGIN: http://192.168.1.32:3102
|
PUBLIC_ORIGIN: http://192.168.1.32:3102
|
||||||
WIKIDECK_USER_AGENT: *ua
|
WIKIDECK_USER_AGENT: *ua
|
||||||
|
WIKIDECK_WIKIMEDIA_NODES_PER_IP: *perip
|
||||||
|
WIKIDECK_OPERATOR_CONTACT: *contact
|
||||||
WIKIDECK_MODES: draft
|
WIKIDECK_MODES: draft
|
||||||
WIKIDECK_GAME_OPERATOR: Testnet B
|
WIKIDECK_GAME_OPERATOR: Testnet B
|
||||||
WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3103
|
WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3103
|
||||||
@@ -23,6 +29,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PUBLIC_ORIGIN: http://192.168.1.32:3103
|
PUBLIC_ORIGIN: http://192.168.1.32:3103
|
||||||
WIKIDECK_USER_AGENT: *ua
|
WIKIDECK_USER_AGENT: *ua
|
||||||
|
WIKIDECK_WIKIMEDIA_NODES_PER_IP: *perip
|
||||||
|
WIKIDECK_OPERATOR_CONTACT: *contact
|
||||||
WIKIDECK_MODES: classic,trending,draft
|
WIKIDECK_MODES: classic,trending,draft
|
||||||
WIKIDECK_GAME_OPERATOR: Testnet C
|
WIKIDECK_GAME_OPERATOR: Testnet C
|
||||||
WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3102
|
WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3102
|
||||||
|
|||||||
Reference in New Issue
Block a user