forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nimbus-el.yml
68 lines (67 loc) · 1.85 KB
/
nimbus-el.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3.9"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
execution:
restart: "unless-stopped"
build:
context: ./nimbus-el
dockerfile: ${NIMEL_DOCKERFILE}
args:
- BUILD_TARGET=${NIMEL_SRC_BUILD_TARGET}
- DOCKER_TAG=${NIMEL_DOCKER_TAG}
stop_grace_period: 5m
stop_signal: SIGINT
image: nimbus-el:local
user: user
environment:
- JWT_SECRET=${JWT_SECRET:-}
- EL_EXTRAS=${EL_EXTRAS:-}
- ARCHIVE_NODE=${ARCHIVE_NODE:-}
volumes:
- nimbus-el-data:/var/lib/nimbus
- /etc/localtime:/etc/localtime:ro
- jwtsecret:/var/lib/nimbus/ee-secret
ports:
- ${HOST_IP:-0.0.0.0}:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/tcp
- ${HOST_IP:-0.0.0.0}:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/udp
networks:
default:
aliases:
- eth1
<<: *logging
entrypoint:
- docker-entrypoint.sh
- nimbus
- --rpc
- --rpc-address=0.0.0.0
- --rpc-port=${EL_RPC_PORT:-8545}
- --rpc-api=eth
- --data-dir=/var/lib/nimbus
- --key-store=/var/lib/nimbus/nimbus/keystore
- --tcp-port=${EL_P2P_PORT:-30303}
- --ws
- --ws-address=0.0.0.0
- --ws-port=${EL_WS_PORT:-8546}
- --ws-api=eth
- --network=${NETWORK}
- --metrics
- --metrics-port=6060
- --metrics-address=0.0.0.0
- --jwt-secret=/var/lib/nimbus/ee-secret/jwtsecret
- --engine-api
- --engine-api-port=${EE_PORT:-8551}
- --engine-api-address=0.0.0.0
- --engine-api-ws
- --engine-api-ws-port=8552
- --engine-api-ws-address=0.0.0.0
- --max-peers=${EL_MAX_PEER_COUNT:-25}
- --log-level=${LOG_LEVEL}
volumes:
nimbus-el-data:
jwtsecret: