Implement sabnzbd_exporter init

This commit is contained in:
Joey Hafner 2022-05-11 01:35:59 -07:00
parent 77e4360821
commit 587da7b8e1
2 changed files with 15 additions and 3 deletions

View File

@ -18,6 +18,7 @@ services:
- traefik.http.routers.radarr.tls.certresolver=lets-encrypt
- traefik.http.services.radarr.loadbalancer.server.port=7878
- traefik.http.routers.radarr.middlewares=lan-only@file
sonarr:
image: linuxserver/sonarr
container_name: autopirate_sonarr
@ -79,6 +80,7 @@ services:
container_name: autopirate_sabnzbd
networks:
- web
- monitoring
environment:
- PUID=1000
- PGID=1000
@ -95,7 +97,6 @@ services:
- traefik.http.services.sabnzbd.loadbalancer.server.port=8080
- traefik.http.routers.sabnzbd.middlewares=lan-only@file
tdarr:
image: haveagitgat/tdarr:latest
container_name: autopirate_tdarr
@ -169,4 +170,5 @@ networks:
- subnet: "172.110.0.0/24"
web:
external: true
monitoring:
external: true

View File

@ -56,7 +56,17 @@ services:
- "--auto-discover"
labels:
- traefik.enable=false
sabnzbd_exporter:
image: msroest/sabnzbd_exporter # https://github.com/msroest/sabnzbd_exporter
container_name: monitoring_sabnzbd_exporter
restart: unless-stopped
networks:
- monitoring
environment:
- SABNZBD_BASEURLS=https://sabnzbd.jafner.net:443
- SABNZBD_APIKEYS=***REMOVED***
networks:
monitoring: