#107 Move uptime kuma into monitoring stack

This commit is contained in:
Joey Hafner 2023-11-22 15:38:56 -08:00
parent 3001deb449
commit 3b2838efcb
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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.