forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blox-ssv2.yml
33 lines (32 loc) · 885 Bytes
/
blox-ssv2.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
version: "3.9"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
ssv2-node:
restart: "unless-stopped"
image: bloxstaking/ssv-node:${SSV2_NODE_TAG:-latest}
user: 12000:12000
volumes:
- ./blox-ssv-config.yaml:/config.yaml
- ssv2-data:/tmp
- /etc/localtime:/etc/localtime:ro
ports:
- ${SSV_P2P_PORT}:${SSV_P2P_PORT}/tcp
- ${SSV_P2P_PORT_UDP}:${SSV_P2P_PORT_UDP}/udp
<<: *logging
environment:
- CONFIG_PATH=/config.yaml
- HOME=/tmp
command: make BUILD_PATH=/go/bin/ssvnode start-node
ssv-generate-keys:
profiles: ["tools"]
restart: "no"
image: bloxstaking/ssv-node:${SSV2_NODE_TAG:-latest}
command: /go/bin/ssvnode generate-operator-keys
volumes:
ssv2-data: