2022-02-08 17:00:27 -08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:latest
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: monitoring_prometheus
|
2022-02-08 17:00:27 -08:00
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
- web
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
|
|
|
volumes:
|
|
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
restart: unless-stopped
|
|
|
|
command:
|
|
|
|
- "--config.file=/etc/prometheus/prometheus.yml"
|
|
|
|
labels:
|
|
|
|
- traefik.http.routers.prometheus.rule=Host(`prometheus.jafner.net`)
|
|
|
|
- traefik.http.routers.prometheus.tls.certresolver=lets-encrypt
|
|
|
|
|
|
|
|
pihole-jafner-net:
|
|
|
|
image: ekofr/pihole-exporter:latest
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: monitoring_prometheus-pihole-jafner-net
|
2022-02-08 17:00:27 -08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
environment:
|
|
|
|
- PIHOLE_HOSTNAME=pihole.jafner.net
|
|
|
|
- PIHOLE_PASSWORD=wjrXfjjEsPRCoBkVLKG3FmTaX8DZvBWh5z7ba6GBukAzYjms3k
|
|
|
|
- INTERVAL=15s
|
|
|
|
- PORT=9617
|
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
|
|
|
|
2022-03-18 11:46:56 -07:00
|
|
|
mc-monitor:
|
|
|
|
image: itzg/mc-monitor # https://github.com/itzg/mc-monitor
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: monitoring_mc-monitor
|
2022-03-18 11:46:56 -07:00
|
|
|
command: export-for-prometheus
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
- mc-router
|
|
|
|
environment:
|
2022-03-18 11:47:37 -07:00
|
|
|
EXPORT_SERVERS: e6-056,vanilla,bmcp,e6,e6-dev
|
2022-04-29 11:34:17 -07:00
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
2022-02-08 17:00:27 -08:00
|
|
|
|
2022-05-03 14:29:03 -07:00
|
|
|
plex-exporter:
|
2022-05-03 14:31:44 -07:00
|
|
|
image: granra/plex_exporter
|
2022-05-03 14:29:03 -07:00
|
|
|
container_name: monitoring_plex-exporter
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
command:
|
2022-05-03 14:40:26 -07:00
|
|
|
- "--plex-server=https://plex.jafner.net"
|
2022-05-03 14:29:03 -07:00
|
|
|
- "--token=2s915rxYLcnQbsskirBu"
|
2022-05-03 14:40:26 -07:00
|
|
|
- "--auto-discover"
|
2022-05-04 09:31:30 -07:00
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
2022-05-03 14:29:03 -07:00
|
|
|
|
|
|
|
|
2022-02-08 17:00:27 -08:00
|
|
|
networks:
|
|
|
|
monitoring:
|
|
|
|
external: true
|
|
|
|
web:
|
|
|
|
external: true
|
2022-03-18 11:46:56 -07:00
|
|
|
mc-router:
|
|
|
|
external: true
|