forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ssv.yml
34 lines (32 loc) · 828 Bytes
/
ssv.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
version: "3.9"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
ssv-node:
restart: "unless-stopped"
image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest}
user: 12000:12000
volumes:
- ./ssv-config:/config
- ssv-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/config.yaml
- HOME=/tmp
command: make BUILD_PATH=/go/bin/ssvnode start-node
labels:
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=15000
- metrics.instance=ssv
volumes:
ssv-data: