-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
141 lines (133 loc) · 3.51 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
version: '3.4'
services:
orion:
image: pegasyseng/orion:${ORION_VERSION}
volumes:
- ./config/orion:/opt/orion/conf/
- ./data/orion:/opt/orion/data/
command: /opt/orion/bin/orion /opt/orion/conf/orion.conf
ports:
- 8881:8888
- 8081:8080
networks:
main:
ipv4_address: 172.24.2.21
besu:
image: hyperledger/besu:${BESU_VERSION}
depends_on:
- orion
environment:
- LOG4J_CONFIGURATION_FILE=/opt/besu/conf/log-config.xml
volumes:
- ./config/besu:/opt/besu/conf/
- ./data/besu:/opt/besu/data/
command: [
"--config-file=/opt/besu/conf/besu.conf",
"--privacy-enabled=${PRIVACY_ENABLED}",
"--permissions-accounts-contract-enabled=${PERMISSIONING_ENABLED}",
"--permissions-nodes-contract-enabled=${PERMISSIONING_ENABLED}"]
ports:
- 8515:8545
- 8516:8546
- 8517:8547
networks:
main:
ipv4_address: 172.24.2.11
ethsigner:
image: pegasyseng/ethsigner:${ETHSIGNER_VERSION}
depends_on:
- besu
volumes:
- ./config/ethsigner:/opt/ethsigner/conf/
command: [
"--chain-id=2018",
"--downstream-http-host=172.24.2.11",
"--downstream-http-port=8545",
"--http-listen-host=0.0.0.0",
"--http-listen-port=8545",
"file-based-signer",
"--key-file=/opt/ethsigner/conf/keyFile",
"--password-file=/opt/ethsigner/conf/passwordFile"
]
ports:
- 9545:8545
networks:
main:
ipv4_address: 172.24.2.30
orion2:
image: pegasyseng/orion:${ORION_VERSION}
depends_on:
- orion
volumes:
- ./config/orion2:/opt/orion/conf/
- ./data/orion2:/opt/orion/data/
command: /opt/orion/bin/orion /opt/orion/conf/orion.conf
ports:
- 8882:8888
- 8082:8080
networks:
main:
ipv4_address: 172.24.2.22
besu2:
image: hyperledger/besu:${BESU_VERSION}
depends_on:
- orion2
environment:
- LOG4J_CONFIGURATION_FILE=/opt/besu/conf/log-config.xml
volumes:
- ./config/besu2:/opt/besu/conf/
- ./data/besu2:/opt/besu/data/
command: [
"--config-file=/opt/besu/conf/besu.conf",
"--privacy-enabled=${PRIVACY_ENABLED}",
"--permissions-accounts-contract-enabled=${PERMISSIONING_ENABLED}",
"--permissions-nodes-contract-enabled=${PERMISSIONING_ENABLED}"]
ports:
- 8525:8545
- 8526:8546
- 8527:8547
networks:
main:
ipv4_address: 172.24.2.12
orion3:
image: pegasyseng/orion:${ORION_VERSION}
depends_on:
- orion
volumes:
- ./config/orion3:/opt/orion/conf/
- ./data/orion3:/opt/orion/data/
command: /opt/orion/bin/orion /opt/orion/conf/orion.conf
ports:
- 8883:8888
- 8083:8080
networks:
main:
ipv4_address: 172.24.2.23
besu3:
image: hyperledger/besu:${BESU_VERSION}
depends_on:
- orion3
environment:
- LOG4J_CONFIGURATION_FILE=/opt/besu/conf/log-config.xml
volumes:
- ./config/besu3:/opt/besu/conf/
- ./data/besu3:/opt/besu/data/
command: [
"--config-file=/opt/besu/conf/besu.conf",
"--privacy-enabled=${PRIVACY_ENABLED}",
"--permissions-accounts-contract-enabled=${PERMISSIONING_ENABLED}",
"--permissions-nodes-contract-enabled=${PERMISSIONING_ENABLED}"]
ports:
- 8535:8545
- 8536:8546
- 8537:8547
networks:
main:
ipv4_address: 172.24.2.13
networks:
main:
driver: bridge
ipam:
config:
- subnet: 172.24.2.0/27