forked from Consensys/besu-sample-networks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.3 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
version: '2.2'
services:
bootnode:
build: pantheon/.
image: quickstart/pantheon:latest
entrypoint: /opt/pantheon/bootnode_start.sh --dev-mode
volumes:
- public-keys:/opt/pantheon/public-keys
minernode:
image: quickstart/pantheon:latest
# The address 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 is one of the addresses in the
# dev mode genesys file
command: ["--dev-mode",
"--miner-enabled",
"--miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
node:
image: quickstart/pantheon:latest
command: ["--dev-mode"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
rpcnode:
image: quickstart/pantheon:latest
command: ["--dev-mode",
"--rpc-enabled",
"--rpc-listen=0.0.0.0:8545",
"--ws-enabled",
"--ws-listen=0.0.0.0:8546",
"--rpc-cors-origins=*"]
volumes:
- public-keys:/opt/pantheon/public-keys
depends_on:
- bootnode
explorer:
build: block-explorer-light/.
image: quickstart/block-explorer-light:latest
depends_on:
- rpcnode
ports:
- "${EXPLORER_PORT_MAPPING:-}80"
volumes:
public-keys: