#84 Move sabnzbd, minecraft, plex, and qbittorrent exporters to application stacks
This commit is contained in:
parent
bfa525d2f8
commit
8366e51b7b
@ -245,6 +245,24 @@ services:
|
||||
- traefik.http.services.jackett.loadbalancer.server.port=9117
|
||||
- traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file
|
||||
|
||||
exporter-sabnzbd:
|
||||
image: msroest/sabnzbd_exporter # https://github.com/msroest/sabnzbd_exporter
|
||||
container_name: autopirate_sabnzbd-exporter
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
env_file:
|
||||
- exporter-sabnzbd.env
|
||||
- exporter-sabnzbd_secrets.env
|
||||
|
||||
networks:
|
||||
tdarr:
|
||||
ipam:
|
||||
|
@ -17,7 +17,28 @@ services:
|
||||
ports:
|
||||
- 25565:25565
|
||||
command: --mapping=bmcp.janfer.net=bmcp:25565,e9.janfer.net=e9:25565,fan.janfer.net=fan:25565,vanilla.janfer.net=vanilla:25565,vanilla2.janfer.net=vanilla2:25565 --api-binding=0.0.0.0:25566
|
||||
|
||||
|
||||
exporter-minecraft:
|
||||
image: itzg/mc-monitor # https://github.com/itzg/mc-monitor
|
||||
container_name: minecraft_exporter
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
command: export-for-prometheus
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
- mc-router
|
||||
env_file:
|
||||
- exporter.env
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
bmcp:
|
||||
image: itzg/minecraft-server:java17
|
||||
container_name: minecraft_bmcp
|
||||
|
@ -117,66 +117,6 @@ services:
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
exporter-minecraft:
|
||||
image: itzg/mc-monitor # https://github.com/itzg/mc-monitor
|
||||
container_name: monitoring_exporter-minecraft
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
command: export-for-prometheus
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
- mc-router
|
||||
env_file:
|
||||
- exporter-minecraft.env
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
exporter-plex:
|
||||
image: granra/plex_exporter
|
||||
container_name: monitoring_exporter-plex
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
command:
|
||||
- "--plex-server=https://plex.jafner.net"
|
||||
- "--token=suirW-a-z6SpqUAJjjDj"
|
||||
- "--auto-discover"
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
exporter-sabnzbd:
|
||||
image: msroest/sabnzbd_exporter # https://github.com/msroest/sabnzbd_exporter
|
||||
container_name: monitoring_exporter-sabnzbd
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
env_file:
|
||||
- exporter-sabnzbd.env
|
||||
- exporter-sabnzbd_secrets.env
|
||||
|
||||
exporter-ping:
|
||||
image: czerwonk/ping_exporter
|
||||
container_name: monitoring_exporter-ping
|
||||
@ -213,26 +153,6 @@ services:
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
exporter-qbittorrent:
|
||||
image: esanchezm/prometheus-qbittorrent-exporter
|
||||
container_name: monitoring_exporter-qbittorrent
|
||||
env_file:
|
||||
- exporter-qbittorrent.env
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
- web
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
external: true
|
||||
|
@ -69,7 +69,27 @@ services:
|
||||
- traefik.http.routers.ombi.tls.options=tls12@file
|
||||
- traefik.http.routers.ombi.middlewares=securityheaders@file
|
||||
- traefik.http.services.ombi.loadbalancer.server.port=3579
|
||||
|
||||
exporter-plex:
|
||||
image: granra/plex_exporter
|
||||
container_name: plex_exporter
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
command:
|
||||
- "--plex-server=https://plex.jafner.net"
|
||||
- "--token=suirW-a-z6SpqUAJjjDj"
|
||||
- "--auto-discover"
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
@ -34,6 +34,25 @@ services:
|
||||
# - traefik.http.routers.qbt-auth.rule=Host(`qbt.jafner.net`) && PathPrefix(`/outpost.goauthentik.io/`)
|
||||
# - traefik.http.routers.qbt-auth.priority=15
|
||||
# - traefik.http.routers.qbt-auth.service=authentik-auth@file
|
||||
exporter-qbittorrent:
|
||||
image: esanchezm/prometheus-qbittorrent-exporter
|
||||
container_name: qbittorrent_exporter
|
||||
env_file:
|
||||
- exporter.env
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- monitoring
|
||||
- web
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
|
||||
networks:
|
||||
web:
|
||||
|
Loading…
Reference in New Issue
Block a user