infrastructure/ansible/roles/forrest/files/prometheus/docker-compose.yml

25 lines
523 B
YAML
Raw Normal View History

2021-03-04 14:53:03 +00:00
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
- grafana
ports:
- "{{ pve_hosts.forrest.ip }}:9090:9090"
2021-03-04 14:53:03 +00:00
blackbox:
image: prom/blackbox-exporter:latest
restart: unless-stopped
volumes:
- ./blackbox.yml:/etc/blackbox_exporter/config.yml
2021-03-04 14:53:03 +00:00
networks:
grafana:
external: true