45 lines
1.9 KiB
YAML
45 lines
1.9 KiB
YAML
services:
|
|
##################################################
|
|
# Node Runner
|
|
node_demo_alice:
|
|
image: nexus.g6.network:10000/g6_node_runner:${NODE_RUNNER_DEMO_IMAGE_VERSION:-latest}
|
|
container_name: ${NODE_RUNNER_DEMO_CONTAINER_NAME:-node_demo_alice}
|
|
user: g6
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- "${SHARED_DIR_NODE_A:-../../../}:/home/g6/workspace"
|
|
ports:
|
|
- "9615:9615"
|
|
- "9933:9933"
|
|
- "9944:9944"
|
|
- "30333:30333"
|
|
command: /home/g6/workspace/${NODE_RUNNER_BINARY_NAME:-g6-solo-node} --alice --chain local --base-path ./chain-data/alice --name "alice-validator" --port ${NODE_PORT:-30300} --rpc-port ${NODE_RPC_PORT:-9944} --node-key "${NODE_KEY:-0000000000000000000000000000000000000000000000000000000000000001}" --validator --insecure-validator-i-know-what-i-do --unsafe-rpc-external --rpc-cors all
|
|
networks:
|
|
- "g6_blockchain_nodes_network"
|
|
restart: always
|
|
##################################################
|
|
# Node B
|
|
node_demo_bob:
|
|
image: nexus.g6.network:10000/g6_node_runner:${NODE_RUNNER_DEMO_IMAGE_VERSION:-latest}
|
|
container_name: ${NODE_RUNNER_DEMO_CONTAINER_NAME:-node_demo_bob}
|
|
user: g6
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- "${SHARED_DIR_NODE_A:-../../../}:/home/g6/workspace"
|
|
ports:
|
|
- "9616:9615"
|
|
- "9934:9933"
|
|
- "9945:9944"
|
|
- "30334:30333"
|
|
command: /home/g6/workspace/${NODE_RUNNER_BINARY_NAME:-g6-solo-node} --bob --chain local --base-path ./chain-data/bob --name "bob-validator" --port ${NODE_PORT:-30300} --rpc-port ${NODE_RPC_PORT:-9944} --node-key "${NODE_KEY:-0000000000000000000000000000000000000000000000000000000000000002}" --validator --insecure-validator-i-know-what-i-do --unsafe-rpc-external --rpc-cors all
|
|
networks:
|
|
- "g6_blockchain_nodes_network"
|
|
restart: always
|
|
##################################################
|
|
# Nets
|
|
networks:
|
|
g6_blockchain_nodes_network:
|
|
external: true
|