-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.33 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
---
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:
- 8888:8888
- 8080:8080
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:
- 8545:8545
- 8546:8546
- 8547:8547
ethsigner:
image: pegasyseng/ethsigner:${ETHSIGNER_VERSION}
depends_on:
- besu
volumes:
- ./config/ethsigner:/opt/ethsigner/conf/
command: [
"--chain-id=2018",
"--downstream-http-host=besu",
"--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