forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoe.yml
53 lines (53 loc) · 1.24 KB
/
oe.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
version: "3.4"
services:
execution:
restart: "${RESTART}"
build:
context: ./openethereum
dockerfile: ${OE_DOCKERFILE}
args:
- BUILD_TARGET=${OE_SRC_BUILD_TARGET}
- DOCKER_TAG=${OE_DOCKER_TAG}
image: openethereum:local
user: openethereum
stop_grace_period: 3m
volumes:
- oe-eth1-data:/var/lib/openethereum
- /etc/localtime:/etc/localtime:ro
ports:
- ${EC_P2P_PORT}:${EC_P2P_PORT}/tcp
- ${EC_P2P_PORT}:${EC_P2P_PORT}/udp
expose:
- ${EC_RPC_PORT}/tcp
- ${EC_WS_PORT}/tcp
entrypoint:
- openethereum
- --no-ipc
- --no-secretstore
- --base-path=/var/lib/openethereum
- --jsonrpc-interface=all
- --jsonrpc-apis=web3,eth,pubsub,net
- --jsonrpc-hosts=all
- --ws-interface=all
- --ws-apis=web3,eth,pubsub,net
- --ws-hosts=all
- --ws-origins=all
- --ws-port=${EC_WS_PORT}
- --chain=${EC_NETWORK}
- --reseal-on-txs
- none
- --port
- ${EC_P2P_PORT}
- --jsonrpc-port
- ${EC_RPC_PORT}
- --logging
- ${LOG_LEVEL}
- --snapshot-peers
- "250"
- --cache-size
- "4096"
eth:
depends_on:
- execution
volumes:
oe-eth1-data: