-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbesu.yml
44 lines (44 loc) · 930 Bytes
/
besu.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
version: "3.4"
services:
eth:
restart: "${RESTART}"
user: besu
stop_grace_period: 3m
image: hyperledger/besu
volumes:
- besu-eth-data:/opt/besu
ports:
- ${ETH_PORT}:${ETH_PORT}/tcp
- ${ETH_PORT}:${ETH_PORT}/udp
expose:
- ${ETH_WS_PORT}/tcp
- ${ETH_RPC_PORT}/tcp
entrypoint:
- /opt/besu/bin/besu
- --pruning-enabled
- --p2p-port
- ${ETH_PORT}
- --rpc-http-enabled
- --rpc-http-api
- "web3,eth,net"
- --rpc-http-host
- 0.0.0.0
- --rpc-http-port
- ${ETH_RPC_PORT}
- --rpc-ws-enabled
- --rpc-ws-api
- "web3,eth,net"
- --rpc-ws-host
- 0.0.0.0
- --rpc-ws-port
- ${ETH_WS_PORT}
- --host-allowlist=eth,localhost
- --logging
- ${LOG_LEVEL}
- --network
- ${ETH_NETWORK}
chainlink:
depends_on:
- eth
volumes:
besu-eth-data: