-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
71 lines (67 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
x-besu:
&besu
image: "hyperledger/besu:develop"
mem_limit: 500M
services:
besu1:
<< : *besu
volumes:
- ./docker-config:/config
- ./docker-data/node1:/data
ports:
- "8545:8545"
entrypoint:
- /opt/besu/bin/besu
- --data-path=/data
- --genesis-file=/config/genesis.json
- --node-private-key-file=/config/besu-keystore/besu1-key
- --permissions-accounts-contract-enabled
- --permissions-accounts-contract-address=0x0000000000000000000000000000000000008888
- --revert-reason-enabled
- --host-whitelist=*
- --graphql-http-enabled
- --rpc-http-enabled
- --rpc-http-cors-origins=*
- --rpc-http-api=ADMIN,ETH,NET,PERM,CLIQUE
- --discovery-enabled=true
besu2:
<< : *besu
volumes:
- ./docker-config:/config:ro
- ./docker-data/node2:/data
entrypoint:
- /opt/besu/bin/besu
- --data-path=/data
- --genesis-file=/config/genesis.json
- --node-private-key-file=/config/besu-keystore/besu2-key
- --revert-reason-enabled
- --host-whitelist=*
- --graphql-http-enabled
- --permissions-accounts-contract-enabled
- --permissions-accounts-contract-address=0x0000000000000000000000000000000000008888
- --rpc-http-enabled
- --rpc-http-cors-origins=*
- --discovery-enabled=true
- --bootnodes=enode://823e8c26c73e20391a21ed9a8812e1a10d479c9a12d2beb48adf3a0b4e1edcddbcc5aa590ccec56fe493ba53f9f7bee497eb39fa82aba9b688ade729b142c960@besu1:30303
- --Xdns-enabled=true
besu3:
<< : *besu
volumes:
- ./docker-config:/config:ro
- ./docker-data/node3:/data
entrypoint:
- /opt/besu/bin/besu
- --data-path=/data
- --genesis-file=/config/genesis.json
- --node-private-key-file=/config/besu-keystore/besu3-key
- --revert-reason-enabled
- --host-whitelist=*
- --graphql-http-enabled
- --permissions-accounts-contract-enabled
- --permissions-accounts-contract-address=0x0000000000000000000000000000000000008888
- --rpc-http-enabled
- --rpc-http-cors-origins=*
- --discovery-enabled=true
- --bootnodes=enode://823e8c26c73e20391a21ed9a8812e1a10d479c9a12d2beb48adf3a0b4e1edcddbcc5aa590ccec56fe493ba53f9f7bee497eb39fa82aba9b688ade729b142c960@besu1:30303
- --Xdns-enabled=true