Working version Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-11-01 22:07:51 +00:00
parent 1edf2e6200
commit 636f5b9c77
80 changed files with 4065 additions and 549 deletions
+17 -3
View File
@@ -1,10 +1,16 @@
# Three independent validators, separate volumes, no miner auto-starts.
x-node-environment: &node-environment
WIKIDECK_NETWORK: testnet
services:
node-a:
image: wikideck:testnet
build: { context: ., target: runtime }
build:
context: .
target: runtime
args: { WIKIDECK_NETWORK: testnet, WIKIDECK_GENESIS_TIME: "1792411200" }
ports: ["127.0.0.1:3101:3001"]
environment:
<<: *node-environment
PUBLIC_ORIGIN: http://127.0.0.1:3101
WIKIDECK_PEERS: http://node-b:3001,http://node-c:3001
WIKIDECK_ALLOW_PRIVATE_PEERS: "1"
@@ -20,9 +26,13 @@ services:
stop_grace_period: 30s
node-b:
image: wikideck:testnet
build: { context: ., target: runtime }
build:
context: .
target: runtime
args: { WIKIDECK_NETWORK: testnet, WIKIDECK_GENESIS_TIME: "1792411200" }
ports: ["127.0.0.1:3102:3001"]
environment:
<<: *node-environment
PUBLIC_ORIGIN: http://127.0.0.1:3102
WIKIDECK_PEERS: http://node-a:3001,http://node-c:3001
WIKIDECK_ALLOW_PRIVATE_PEERS: "1"
@@ -38,9 +48,13 @@ services:
stop_grace_period: 30s
node-c:
image: wikideck:testnet
build: { context: ., target: runtime }
build:
context: .
target: runtime
args: { WIKIDECK_NETWORK: testnet, WIKIDECK_GENESIS_TIME: "1792411200" }
ports: ["127.0.0.1:3103:3001"]
environment:
<<: *node-environment
PUBLIC_ORIGIN: http://127.0.0.1:3103
WIKIDECK_PEERS: http://node-a:3001,http://node-b:3001
WIKIDECK_ALLOW_PRIVATE_PEERS: "1"