-
Notifications
You must be signed in to change notification settings - Fork 1
/
geth.yml
50 lines (50 loc) · 1 KB
/
geth.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
version: "3.4"
services:
eth:
restart: "${RESTART}"
user: geth
build:
context: ./geth
dockerfile: Dockerfile.binary
args:
- BUILD_TARGET=${GETH_SRC_BUILD_TARGET}
- DOCKER_TAG=${GETH_DOCKER_TAG}
stop_signal: SIGINT
stop_grace_period: 3m
image: geth_cl:local
volumes:
- geth-eth-data:/var/lib/goethereum
ports:
- ${ETH_PORT}:${ETH_PORT}/tcp
- ${ETH_PORT}:${ETH_PORT}/udp
expose:
- ${ETH_WS_PORT}/tcp
- ${ETH_RPC_PORT}/tcp
entrypoint:
- geth
- --nousb
- --datadir
- /var/lib/goethereum
- --port
- ${ETH_PORT}
- --http
- --http.addr
- 0.0.0.0
- --http.vhosts=*
- --http.api
- web3,eth,net
- --http.port
- ${ETH_RPC_PORT}
- --ws
- --ws.addr
- 0.0.0.0
- --ws.port
- ${ETH_WS_PORT}
- --ws.api
- web3,eth,net
- --${ETH_NETWORK}
chainlink:
depends_on:
- eth
volumes:
geth-eth-data: