infrastructure/ansible/roles/grafana/files/docker-compose.yml

22 lines
447 B
YAML
Raw Normal View History

2020-08-07 11:52:15 +01:00
version: "2.3"
services:
grafana:
image: grafana/grafana:latest
environment:
- TZ=Europe/London
volumes:
- ./grafana:/var/lib/grafana
restart: unless-stopped
networks:
- default
- grafana
2020-08-07 12:03:45 +01:00
labels:
- traefik.enable=true
- traefik.http.routers.grafana.rule=Host(`grafana.jakehoward.tech`)
- traefik.http.routers.grafana.tls.certresolver=le
2020-08-07 11:52:15 +01:00
networks:
grafana:
external: true