laconicd/docker-compose.yml
2021-05-26 06:58:04 -04:00

83 lines
1.7 KiB
YAML

version: "3"
services:
ethermintdnode0:
container_name: ethermintdnode0
image: "ethermintd/node"
ports:
- "26657:26657"
- "1317:1317"
- "1318:1318"
- "8125:8125"
environment:
- ID=0
- LOG=${LOG:-ethermintd.log}
volumes:
- ./build:/ethermint:Z
networks:
localnet:
ipv4_address: 192.168.10.2
entrypoint: "bash start-docker.sh"
ethermintdnode1:
container_name: ethermintdnode1
image: "ethermintd/node"
ports:
- "26658:26657"
- "1327:1317"
- "1328:1318"
- "8126:8125"
environment:
- ID=1
- LOG=${LOG:-ethermintd.log}
volumes:
- ./build:/ethermint:Z
networks:
localnet:
ipv4_address: 192.168.10.3
entrypoint: "bash start-docker.sh"
ethermintdnode2:
container_name: ethermintdnode2
image: "ethermintd/node"
environment:
- ID=2
- LOG=${LOG:-ethermintd.log}
ports:
- "26659:26657"
- "1337:1317"
- "1338:1318"
- "8127:8125"
volumes:
- ./build:/ethermint:Z
networks:
localnet:
ipv4_address: 192.168.10.4
entrypoint: "bash start-docker.sh"
ethermintdnode3:
container_name: ethermintdnode3
image: "ethermintd/node"
environment:
- ID=3
- LOG=${LOG:-ethermintd.log}
ports:
- "26660:26657"
- "1347:1317"
- "1348:1318"
- "8128:8125"
volumes:
- ./build:/ethermint:Z
networks:
localnet:
ipv4_address: 192.168.10.5
entrypoint: "bash start-docker.sh"
networks:
localnet:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.10.0/16