forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lh-validator.yml
91 lines (91 loc) · 2.13 KB
/
lh-validator.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3.4"
services:
validator:
restart: "${RESTART}"
image: lighthouse:local
volumes:
- lhvalidator-data:/var/lib/lighthouse
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
entrypoint:
- docker-entrypoint.sh
- lighthouse
- vc
- --datadir
- /var/lib/lighthouse
- --beacon-nodes
- ${CC_NODE}
- --enable-doppelganger-protection
- --graffiti
- ${GRAFFITI}
- --network
- ${NETWORK}
- --debug-level=${LOG_LEVEL}
validator-import:
restart: "no"
image: lighthouse:local
volumes:
- lhvalidator-data:/var/lib/lighthouse
- ${DEPCLI_LOCALDIR}/validator_keys:/validator_keys
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
entrypoint:
- validator-import.sh
- lighthouse
- account
- validator
- import
- --datadir
- /var/lib/lighthouse
- --directory
- /val_keys
- --network
- ${NETWORK}
- --debug-level=${LOG_LEVEL}
validator-exit:
restart: "no"
image: lighthouse:local
volumes:
- lhvalidator-data:/var/lib/lighthouse
- ${DEPCLI_LOCALDIR}/validator_keys:/validator_keys
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
entrypoint:
- validator-exit.sh
- lighthouse
- account
- validator
- exit
- --beacon-node
- ${CC_NODE}
- --datadir
- /var/lib/lighthouse
- --network
- ${NETWORK}
- --debug-level=${LOG_LEVEL}
- --keystore
validator-account:
restart: "no"
image: lighthouse:local
user: lhvalidator
volumes:
- lhvalidator-data:/var/lib/lighthouse
- ${DEPCLI_LOCALDIR}:/interchange
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
entrypoint:
- lighthouse
- account
- validator
- --datadir
- /var/lib/lighthouse
- --network
- ${NETWORK}
- --debug-level=${LOG_LEVEL}
eth:
image: tianon/true
restart: "no"
depends_on:
- validator
volumes:
lhvalidator-data: