V2.1 (#21)
Working version Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
+17
-3
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user