forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprysm-slasher.yml
40 lines (40 loc) · 853 Bytes
/
prysm-slasher.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
version: "3.4"
services:
slasher:
restart: "${RESTART}"
user: ${LOCAL_UID}:${LOCAL_UID}
build:
context: ./prysm
target: slasher
dockerfile: ${PRYSM_DOCKERFILE}
args:
- BUILD_TARGET=${PRYSM_SRC_BUILD_TARGET}
- USER=${PRYSM_USER}
- UID=${LOCAL_UID}
- DOCKER_TAG=${PRYSM_DOCKER_TAG}
image: prysm-slasher
expose:
- 8082
volumes:
- prysmslasher-data:/var/lib/prysm
entrypoint:
- slasher
- --datadir
- /var/lib/prysm
- --beacon-rpc-provider
- beacon:4000
- --monitoring-host
- 0.0.0.0
- --verbosity
- ${LOG_LEVEL}
- --${NETWORK}
- --accept-terms-of-use
depends_on:
- beacon
eth2:
image: tianon/true
restart: "no"
depends_on:
- slasher
volumes:
prysmslasher-data: