mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
89 lines
2.8 KiB
YAML
89 lines
2.8 KiB
YAML
version: '2.1'
|
|
services:
|
|
validator0:
|
|
image: parity/parity:stable
|
|
command:
|
|
--config /parity/config/validator.toml
|
|
--engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e
|
|
--jsonrpc-interface 0.0.0.0
|
|
--ws-interface 0.0.0.0
|
|
--ui-interface 0.0.0.0
|
|
--unsafe-expose
|
|
--jsonrpc-cors all
|
|
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e
|
|
volumes:
|
|
- ./parity/config:/parity/config:ro
|
|
- validator0:/root/.local/share/io.parity.ethereum/
|
|
- ./parity/authorities/validator0.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/validator.json:ro
|
|
- ./parity/keys:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}
|
|
- ./parity/authorities/validator0.pwd:/parity/validator.pwd:ro
|
|
- ./parity/node0.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
|
|
ports:
|
|
- 8545:8545
|
|
networks:
|
|
my_net:
|
|
ipv4_address: 172.16.0.10
|
|
|
|
validator1:
|
|
image: parity/parity:stable
|
|
command:
|
|
--config /parity/config/validator.toml
|
|
--engine-signer 0x00aa39d30f0d20ff03a22ccfc30b7efbfca597c2
|
|
volumes:
|
|
- ./parity/config:/parity/config:ro
|
|
- validator1:/root/.local/share/io.parity.ethereum/
|
|
- ./parity/authorities/validator1.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/validator.json:ro
|
|
- ./parity/authorities/validator1.pwd:/parity/validator.pwd:ro
|
|
- ./parity/node1.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
|
|
networks:
|
|
my_net:
|
|
ipv4_address: 172.16.0.11
|
|
|
|
validator2:
|
|
image: parity/parity:stable
|
|
command:
|
|
--config /parity/config/validator.toml
|
|
--engine-signer 0x002e28950558fbede1a9675cb113f0bd20912019
|
|
volumes:
|
|
- ./parity/config:/parity/config:ro
|
|
- validator2:/root/.local/share/io.parity.ethereum/
|
|
- ./parity/authorities/validator2.json:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}/validator.json:ro
|
|
- ./parity/authorities/validator2.pwd:/parity/validator.pwd:ro
|
|
- ./parity/node2.network.key:/root/.local/share/io.parity.ethereum/network/key:ro
|
|
networks:
|
|
my_net:
|
|
ipv4_address: 172.16.0.12
|
|
|
|
user0:
|
|
image: parity/parity:stable
|
|
command:
|
|
--config /parity/config/member.toml
|
|
--jsonrpc-interface 0.0.0.0
|
|
--ws-interface 0.0.0.0
|
|
--ui-interface 0.0.0.0
|
|
--unsafe-expose
|
|
volumes:
|
|
- ./parity/config:/parity/config:ro
|
|
- ./parity/keys:/root/.local/share/io.parity.ethereum/keys/${NETWORK_NAME}
|
|
ports:
|
|
- 8180:8180
|
|
- 8546:8546
|
|
- 30303:30303
|
|
networks:
|
|
my_net:
|
|
ipv4_address: 172.16.0.20
|
|
|
|
|
|
volumes:
|
|
validator0:
|
|
validator1:
|
|
validator2:
|
|
networks:
|
|
my_net:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.16.0.1/24
|
|
gateway: 172.16.0.1
|