-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy pathgrandine-plugin-allin1.yml
More file actions
82 lines (79 loc) · 2.66 KB
/
grandine-plugin-allin1.yml
File metadata and controls
82 lines (79 loc) · 2.66 KB
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
# grandine-plugin-allin1.yml to be used with nethermind.yml for Nethermind with Grandine plugin and Grandine VC
services:
execution:
ports:
# Grandine consensus P2P ports
- "${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp"
- "${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp"
environment:
- CL_NODE_TYPE=${CL_NODE_TYPE:-pruned}
- CL_EXTRAS=${CL_EXTRAS:-}
- WEB3SIGNER=${WEB3SIGNER:-false}
- W3S_NODE=${W3S_NODE}
- CHECKPOINT_SYNC_URL=${CHECKPOINT_SYNC_URL}
- JWT_SECRET=${JWT_SECRET}
- MEV_BOOST=${MEV_BOOST}
- MEV_BUILD_FACTOR=${MEV_BUILD_FACTOR}
- MEV_NODE=${MEV_NODE}
- BEACON_STATS_API=${BEACON_STATS_API}
- BEACON_STATS_MACHINE=${BEACON_STATS_MACHINE}
- VC_EXTRAS=${VC_EXTRAS:-}
- GRAFFITI=${GRAFFITI:-}
- DEFAULT_GRAFFITI=${DEFAULT_GRAFFITI:-false}
- DOPPELGANGER=${DOPPELGANGER:-false}
- IPV6=${IPV6:-false}
- CL_P2P_PORT=${CL_P2P_PORT:-9000}
- CL_QUIC_PORT=${CL_QUIC_PORT:-9001}
- CL_REST_PORT=${CL_REST_PORT:-5052}
- CL_MAX_PEER_COUNT=${CL_MAX_PEER_COUNT:-}
- FEE_RECIPIENT=${FEE_RECIPIENT:-}
- KEY_API_PORT=${KEY_API_PORT:-}
- EMBEDDED_VC=true
- RUST_LOG=${LOG_LEVEL:-info}
volumes:
- grandineconsensus-data:/var/lib/grandine
# No metrics scrape at present via labels.
# Create an extra scrape target for execution:8008 in prometheus/conf.d
wipe-db:
profiles: ["tools"]
restart: "no"
image: alpine:3
user: "10001"
volumes:
- grandineconsensus-data:/var/lib/grandine
- /etc/localtime:/etc/localtime:ro
entrypoint: ["/bin/sh", "-c"]
command:
- |
rm -rf /var/lib/grandine/${NETWORK}/beacon/*
validator-keys:
profiles: ["tools"]
restart: "no"
build:
context: ./vc-utils
image: vc-utils:local
pull_policy: never
# The API token has 640 permissions. Root copies it,
# then switches to the local user's UID or if not provided,
# 1000. The UID has to be able to write .eth/validator_keys
# for the "keys delete" command.
user: root
volumes:
- grandineconsensus-data:/var/lib/grandine
- ./.eth/validator_keys:/validator_keys
- ./.eth/exit_messages:/exit_messages
- /etc/localtime:/etc/localtime:ro
environment:
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
- WEB3SIGNER=${WEB3SIGNER:-false}
- W3S_NODE=${W3S_NODE}
- CL_NODE=${CL_NODE}
depends_on:
- execution
entrypoint:
- keymanager.sh
- /var/lib/grandine/${NETWORK}/validator/api-token.txt
- execution
volumes:
grandineconsensus-data: