forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ssv-dkg.yml
42 lines (38 loc) · 889 Bytes
/
ssv-dkg.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
36
37
38
39
40
41
42
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
curl-jq:
image: curl-jq:local
pull_policy: never
build:
context: ./traefik
dockerfile: Dockerfile.jq
restart: "no"
profiles: [ "tools" ]
ssv-dkg:
restart: "unless-stopped"
image: ${SSV_DKG_REPO:-ssvlabs/ssv-dkg}:${SSV_DKG_TAG:-latest}
volumes:
- ./ssv-config:/config
- ssv-dkg-tls:/ssl
- .eth/dkg_output:/output
- /etc/localtime:/etc/localtime:ro
ports:
- ${HOST_IP:-}:${SSV_DKG_PORT}:${SSV_DKG_PORT}/tcp
<<: *logging
command: >
start-operator
--configPath
/config/dkg-config.yaml
--port
${SSV_DKG_PORT}
volumes:
ssv-dkg-tls:
networks:
default:
enable_ipv6: ${IPV6:-false}