forked from hashgraph/hedera-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (35 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "3.3"
services:
node_0:
container_name: node_0
image: ${REGISTRY_PREFIX}services-node:${TAG}
environment:
- NODE_ID=0
volumes:
- "../configuration/compose:/opt/hedera/services/config-mount"
- "./compose-network/node0/saved:/opt/hedera/services/data/saved"
- "./compose-network/node0/output:/opt/hedera/services/output"
ports:
- 50211:50211
node_1:
container_name: node_1
image: ${REGISTRY_PREFIX}services-node:${TAG}
environment:
- NODE_ID=1
volumes:
- "../configuration/compose:/opt/hedera/services/config-mount"
- "./compose-network/node1/saved:/opt/hedera/services/data/saved"
- "./compose-network/node1/output:/opt/hedera/services/output"
ports:
- 50212:50211
node_2:
container_name: node_2
image: ${REGISTRY_PREFIX}services-node:${TAG}
environment:
- NODE_ID=2
volumes:
- "../configuration/compose:/opt/hedera/services/config-mount"
- "./compose-network/node2/saved:/opt/hedera/services/data/saved"
- "./compose-network/node2/output:/opt/hedera/services/output"
ports:
- 50213:50211