forked from blockpane/tenderduty
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example-docker-compose.yml
47 lines (43 loc) · 957 Bytes
/
example-docker-compose.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
43
44
45
46
47
# docker-compose example for tenderduty, copy this file to docker-compose.yml and edit to suit.
version: '3.2'
networks:
monitor-net:
driver: bridge
volumes:
home:
caddy_data: {}
services:
tenderduty:
container_name: tenderduty
build: .
command: ""
expose:
- 8888 # Dashboard
- 28686 # Prometheus exporter
volumes:
- home:/var/lib/tenderduty
- ./config.yml:/var/lib/tenderduty/config.yml
- ./chains.d:/var/lib/tenderduty/chains.d/
logging:
driver: "json-file"
options:
max-size: "20m"
max-file: "10"
restart: unless-stopped
networks:
- monitor-net
caddy:
container_name: caddy
image: caddy:2.7.6
ports:
- "80:80"
- "443:443"
- "443:443/udp"
- "8888:8888"
- "28686:28686"
volumes:
- ./caddy:/etc/caddy
- caddy_data:/data
restart: unless-stopped
networks:
- monitor-net