You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubloader/monitoring/docker-compose.yml

23 lines
558 B
YAML

version: "3"
services:
prometheus:
image: "prometheus:latest"
command:
- "--storage.tsdb.retention=30d"
restart: "on-failure"
volumes:
- "/storage/wubloader-metrics/prometheus:/prometheus"
ports:
- "9090:9090"
grafana:
image: "grafana/grafana"
restart: "on-failure"
volumes:
- "/storage/wubloader-metrics/grafana:/var/lib/grafana"
ports:
- "1338:3000"
environment:
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_NAME: "Main Org."
GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer"