51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
version: '3'
|
|
services:
|
|
node_alice:
|
|
ports:
|
|
- "30333:30333"
|
|
- "9933:9933"
|
|
- "9944:9944"
|
|
- "9615:9615"
|
|
image: pezkuwichain/pezkuwi:latest
|
|
volumes:
|
|
- "pezkuwi-data-alice:/data"
|
|
command: |
|
|
--chain=pezkuwi-local
|
|
--alice
|
|
-d /data
|
|
--node-key 0000000000000000000000000000000000000000000000000000000000000001
|
|
networks:
|
|
testing_net:
|
|
ipv4_address: 172.28.1.1
|
|
|
|
node_bob:
|
|
ports:
|
|
- "30344:30333"
|
|
- "9935:9933"
|
|
- "9945:9944"
|
|
- "29615:9615"
|
|
image: pezkuwichain/pezkuwi:latest
|
|
volumes:
|
|
- "pezkuwi-data-bob:/data"
|
|
links:
|
|
- "node_alice:alice"
|
|
command: |
|
|
--chain=pezkuwi-local
|
|
--bob
|
|
-d /data
|
|
--bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR'
|
|
networks:
|
|
testing_net:
|
|
ipv4_address: 172.28.1.2
|
|
|
|
volumes:
|
|
pezkuwi-data-alice:
|
|
pezkuwi-data-bob:
|
|
|
|
networks:
|
|
testing_net:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.28.0.0/16
|