mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
cbc2f73a0c
Docker Compose V1 is deprecated since June 2023, ref. https://docs.docker.com/compose/migrate/ and https://github.com/nspcc-dev/neo-bench/issues/166. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
74 lines
2 KiB
YAML
74 lines
2 KiB
YAML
networks:
|
|
default:
|
|
name: neo_go_network
|
|
ipam:
|
|
config:
|
|
- subnet: 172.200.0.0/24
|
|
gateway: 172.200.0.254
|
|
|
|
volumes:
|
|
volume_chain:
|
|
driver: local
|
|
|
|
services:
|
|
node_one:
|
|
container_name: neo_go_node_one
|
|
image: env_neo_go_image
|
|
command: "node --config-path /config --privnet"
|
|
volumes:
|
|
- ../config/protocol.privnet.docker.one.yml:/config/protocol.privnet.yml
|
|
- ./wallets/wallet1.json:/wallet1.json
|
|
- volume_chain:/chains
|
|
ports:
|
|
- 20333:20333
|
|
- 30333:30333
|
|
- 20001:20001
|
|
node_two:
|
|
container_name: neo_go_node_two
|
|
image: env_neo_go_image
|
|
command: "node --config-path /config --privnet"
|
|
volumes:
|
|
- ../config/protocol.privnet.docker.two.yml:/config/protocol.privnet.yml
|
|
- ./wallets/wallet2.json:/wallet2.json
|
|
- volume_chain:/chains
|
|
ports:
|
|
- 20334:20334
|
|
- 30334:30334
|
|
- 20002:20002
|
|
node_three:
|
|
container_name: neo_go_node_three
|
|
image: env_neo_go_image
|
|
command: "node --config-path /config --privnet"
|
|
volumes:
|
|
- ../config/protocol.privnet.docker.three.yml:/config/protocol.privnet.yml
|
|
- ./wallets/wallet3.json:/wallet3.json
|
|
- volume_chain:/chains
|
|
ports:
|
|
- 20335:20335
|
|
- 30335:30335
|
|
- 20003:20003
|
|
node_four:
|
|
container_name: neo_go_node_four
|
|
image: env_neo_go_image
|
|
command: "node --config-path /config --privnet"
|
|
volumes:
|
|
- ../config/protocol.privnet.docker.four.yml:/config/protocol.privnet.yml
|
|
- ./wallets/wallet4.json:/wallet4.json
|
|
- volume_chain:/chains
|
|
ports:
|
|
- 20336:20336
|
|
- 30336:30336
|
|
- 20004:20004
|
|
node_single:
|
|
container_name: neo_go_node_single
|
|
image: env_neo_go_image
|
|
command: "node --config-path /config --privnet"
|
|
volumes:
|
|
- ../config/protocol.privnet.docker.single.yml:/config/protocol.privnet.yml
|
|
- ./wallets/wallet1_solo.json:/wallet1.json
|
|
- volume_chain:/chains
|
|
ports:
|
|
- 20333:20333
|
|
- 30333:30333
|
|
- 20001:20001
|
|
|