forked from serenita-org/vero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-example.yaml
More file actions
23 lines (23 loc) · 1.1 KB
/
Copy pathcompose-example.yaml
File metadata and controls
23 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
validator-client:
container_name: validator-client
image: ghcr.io/serenita-org/vero:latest
# It's recommended to set the `stop_grace_period` value
# (or equivalent, e.g. `terminationGracePeriodSeconds` in k8s)
# to at least 60 seconds.
# This is because Vero defers the shutdown process if it detects
# an upcoming validator duty, opting to complete the duty before
# shutting down.
# This feature can make the shutdown process take a relatively long time.
# The maximum delay depends on the network's slot time.
# For 12-second slot networks, the worst case would consist of:
# - Up to 3 slots (waiting for upcoming block proposals) = 36 seconds
# - Up to ~1.5 slots (waiting to perform attester and sync duties) = 18 seconds
stop_grace_period: 1m
command:
- "--network=hoodi"
- "--remote-signer-url=http://remote-signer:9000"
- "--beacon-node-urls=http://beacon-node-1:1234,http://beacon-node-2:1234,http://beacon-node-3:1234"
- "--fee-recipient=0x0000000000000000000000000000000000000000"
volumes:
- "./data:/vero/data"