mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
79dcce1674
* update local chain name in docker-compose and docu the name of a local network changed from local to polkadot-local so some local test environments were broken and the ticket #965 was created * using CLI flags --alice in local dev as this directly adds the required keys to the keystore Co-authored-by: Christian Seidemann <christian.seidemann@t-systems.com>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
version: '3'
|
|
services:
|
|
node_alice:
|
|
build:
|
|
context: .
|
|
ports:
|
|
- "30333:30333"
|
|
- "9933:9933"
|
|
- "9944:9944"
|
|
image: chevdor/polkadot:latest
|
|
volumes:
|
|
- "polkadot-data-alice:/data"
|
|
command: polkadot --chain=polkadot-local --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001
|
|
networks:
|
|
testing_net:
|
|
ipv4_address: 172.28.1.1
|
|
|
|
node_bob:
|
|
build:
|
|
context: .
|
|
ports:
|
|
- "30344:30344"
|
|
- "9935:9935"
|
|
- "9945:9945"
|
|
image: chevdor/polkadot:latest
|
|
volumes:
|
|
- "polkadot-data-bob:/data"
|
|
links:
|
|
- "node_alice:alice"
|
|
command: polkadot --chain=polkadot-local --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR'
|
|
networks:
|
|
testing_net:
|
|
ipv4_address: 172.28.1.2
|
|
|
|
volumes:
|
|
polkadot-data-alice:
|
|
polkadot-data-bob:
|
|
|
|
networks:
|
|
testing_net:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.28.0.0/16
|