forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blox-ssv.yml
35 lines (34 loc) · 905 Bytes
/
blox-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
35
version: "3.4"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
ssv-node:
restart: "${RESTART}"
image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest-ubuntu}
user: 12000:12000
volumes:
- ./blox-ssv-config.yaml:/config.yaml
- 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.yaml
- HOME=/tmp
command: make BUILD_PATH=/go/bin/ssvnode start-node
eth:
depends_on:
- ssv-node
ssv-generate-keys:
restart: "no"
image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest-ubuntu}
command: /go/bin/ssvnode generate-operator-keys
volumes:
ssv-data: