infrastructure/ansible/roles/forrest/files/prometheus/docker-compose.yml
2021-06-03 20:47:33 +01:00

21 lines
423 B
YAML

version: "2.3"
services:
prometheus:
image: prom/prometheus:latest
restart: unless-stopped
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- /mnt/tank/dbs/prometheus/forrest/:/prometheus/
networks:
- default
- prometheus
- grafana
ports:
- "{{ pve_hosts.forrest.ip }}:9090:9090"
networks:
prometheus:
external: true
grafana:
external: true