forked from oracleNetworkProtocol/plugchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (74 loc) · 1.52 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3'
services:
plugchaindnode0:
container_name: plugchaindnode0
image: "plugchain"
ports:
- "26656-26657:26656-26657"
- "1317:1317"
- "9090:9090"
- "6060:6060"
environment:
- ID=0
- LOG=${LOG:-plugchaind.log}
volumes:
- ../plugchain:/code
networks:
localnet:
ipv4_address: 172.17.0.2
plugchaindnode1:
container_name: plugchaindnode1
image: "plugchain"
ports:
- "26659-26660:26656-26657"
- "1318:1317"
- "9091:9090"
- "6061:6060"
environment:
- ID=1
- LOG=${LOG:-plugchaind.log}
volumes:
- ../plugchain:/code
networks:
localnet:
ipv4_address: 172.17.0.3
plugchaindnode2:
container_name: plugchaindnode2
image: "plugchain"
environment:
- ID=2
- LOG=${LOG:-plugchaind.log}
ports:
- "26661-26662:26656-26657"
- "1319:1317"
- "9092:9090"
- "6062:6060"
volumes:
- ../plugchain:/code
networks:
localnet:
ipv4_address: 172.17.0.4
plugchaindnode3:
container_name: plugchaindnode3
image: "plugchain"
environment:
- ID=3
- LOG=${LOG:-plugchaind.log}
ports:
- "26663-26664:26656-26657"
- "1320:1317"
- "9093:9090"
- "6063:6060"
volumes:
- ../plugchain:/code
networks:
localnet:
ipv4_address: 172.17.0.5
networks:
localnet:
driver: bridge
ipam:
driver: default
config:
-
: 172.17.0.0/16