-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 1.08 KB
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
version: "3.3"
services:
besu:
container_name: besu
user: root
restart: "on-failure"
image: hyperledger/besu:latest
environment:
BESU_GENESIS_FILE: /var/lib/besu/gen-besu.json
BESU_DATA_PATH: /var/lib/besu
BESU_HOST_ALLOWLIST: "*"
BESU_RPC_WS_ENABLED: "true"
BESU_RPC_WS_HOST: 0.0.0.0
BESU_RPC_HTTP_HOST: 0.0.0.0
BESU_RPC_HTTP_ENABLED: "true"
BESU_RPC_HTTP_CORS_ORIGINS: "*"
BESU_RPC_HTTP_API: "ADMIN,ETH,NET,WEB3,MINER,IBFT"
BESU_RPC_WS_API: "ADMIN,ETH,NET,WEB3,MINER,IBFT"
BESU_MINER_ENABLED: "true"
BESU_MINER_COINBASE: fe3b557e8fb62b89f4916b721be55ceb828dbd73
volumes:
- ${BASE_PATH}/besu:/var/lib/besu
- ${BASE_PATH}/gen-besu.json:/var/lib/besu/gen-besu.json
ports:
- "8545:8545"
- "8546:8546"
- "8547:8547"
- "30303:30303"
explorer:
container_name: explorer
restart: "on-failure"
image: alethio/ethereum-lite-explorer
environment:
APP_NODE_URL: "${JSON_RPC_ADDR_BESU}"
ports:
- "${PORT_EXPL_API}:80"
depends_on:
- besu