-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-victoriametrics.yaml
38 lines (37 loc) · 1.11 KB
/
docker-compose-victoriametrics.yaml
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
# This is a sample compose file for deploying the zettelkasten-exporter
# using an VictoriaMetrics storage.
volumes:
grafana-data: {}
victoriametrics-data: {}
services:
grafana:
image: grafana/grafana
restart: unless-stopped
volumes:
- grafana-data:/var/lib/grafan
ports:
- 3000:3000
victoriametrics:
image: victoriametrics/victoria-metrics:latest
# In your own setup you'll probably want to specify a longer
# retention period.
command: -retentionPeriod=1w
restart: unless-stopped
ports:
- 8428:8428
volumes:
- victoriametrics-data:/victoria-metrics-data
zettelkasten-exporter:
image: ghcr.io/luissimas/zettelkasten-exporter:latest
restart: unless-stopped
depends_on:
- victoriametrics
environment:
LOG_LEVEL: INFO
# Here we use a local directory for simplicity, but check out the
# README to see how to configure different sources such as git repositories.
ZETTELKASTEN_DIRECTORY: /sample
COLLECTION_INTERVAL: 10s
VICTORIAMETRICS_URL: http://victoriametrics:8428
volumes:
- ./sample:/sample