From 2aba66d94387fcc92970348394642fc7c189dbc3 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 22 Nov 2023 15:38:56 -0800 Subject: [PATCH] #107 Move uptime kuma into monitoring stack --- fighter/config/monitoring/docker-compose.yml | 13 +++++++++++++ fighter/config/qbittorrent/README.md | 1 + 2 files changed, 14 insertions(+) diff --git a/fighter/config/monitoring/docker-compose.yml b/fighter/config/monitoring/docker-compose.yml index 66aacd5..2763980 100644 --- a/fighter/config/monitoring/docker-compose.yml +++ b/fighter/config/monitoring/docker-compose.yml @@ -57,6 +57,19 @@ services: labels: - traefik.enable=false + uptime-kuma: + image: louislam/uptime-kuma:1 + container_name: monitoring_uptime-kuma + restart: "no" + volumes: + - $DOCKER_DATA:/app/data + - /var/run/docker.sock:/var/run/docker.sock + networks: + - web + labels: + - traefik.http.routers.uptime-kuma.rule=Host(`uptime.jafner.net`) + - traefik.http.routers.uptime-kuma.tls.certresolver=lets-encrypt + networks: monitoring: external: true diff --git a/fighter/config/qbittorrent/README.md b/fighter/config/qbittorrent/README.md index 61f8863..4af7275 100644 --- a/fighter/config/qbittorrent/README.md +++ b/fighter/config/qbittorrent/README.md @@ -32,6 +32,7 @@ But that script used hardcoded credentials for host, username, and password. We Prerequisites: - a Python3 environment - the `qbittorrent-api` package +- the `hurry.filesize` package Steps: 1. Get the URL of the Qbittorrent webUI. `docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' qbittorrent_qbittorrent`. We'll assume the default port of `8080` for the webUI here.