Skip to content

Instantly share code, notes, and snippets.

@MajdT51
Created December 8, 2019 13:11
Show Gist options
  • Save MajdT51/04a89a99c61eb6663760d5d08a04d12f to your computer and use it in GitHub Desktop.
Save MajdT51/04a89a99c61eb6663760d5d08a04d12f to your computer and use it in GitHub Desktop.
The services and network and vol for one node
services:
node1:
<< : *quorum-def
hostname: node1
ports:
- "22000:8545"
volumes:
- vol1:/qdata
- ./3nodes:/3nodes:ro
environment:
- PRIVATE_CONFIG=ignore
- NODE_ID=1
networks:
quorum-simple-net:
ipv4_address: 172.16.239.11
networks:
quorum-simple-net:
name: quorum-simple-net
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.239.0/24
volumes:
"vol1":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment