From 747e2a8e8f28efbb07469b349cc57a19e8a30e72 Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Mon, 1 Jan 2024 18:59:44 -0500 Subject: [PATCH] feat(sabnzbd): Optimize Sabnzbd in homepage --- .env.example | 1 + README.md | 1 + docker-compose.yml | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index d0bfb84..3e7da31 100644 --- a/.env.example +++ b/.env.example @@ -28,6 +28,7 @@ LIDARR_API_KEY= PROWLARR_API_KEY= JELLYFIN_API_KEY= JELLYSEERR_API_KEY= +SABNZBD_API_KEY= HOMEPAGE_VAR_TITLE="Docker-Compose NAS" HOMEPAGE_VAR_SEARCH_PROVIDER=google HOMEPAGE_VAR_HEADER_STYLE=boxed diff --git a/README.md b/README.md index 73408cb..a9032a1 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ If you want to show Jellyfin information in the homepage, create it in Jellyfin | `PROWLARR_API_KEY` | Prowlarr API key to show information in the homepage | | | `JELLYFIN_API_KEY` | Jellyfin API key to show information in the homepage | | | `JELLYSEERR_API_KEY` | Jellyseer API key to show information in the homepage | | +| `SABNZBD_API_KEY` | Sabnzbd API key to show information in the homepage | | | `HOMEPAGE_VAR_TITLE` | Title of the homepage | `Docker-Compose NAS` | | `HOMEPAGE_VAR_SEARCH_PROVIDER` | Homepage search provider, [see list here](https://gethomepage.dev/en/widgets/search/) | `google` | | `HOMEPAGE_VAR_HEADER_STYLE` | Homepage header style, [see list here](https://gethomepage.dev/en/configs/settings/#header-style) | `boxed` | diff --git a/docker-compose.yml b/docker-compose.yml index fa14b61..6cda327 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -354,12 +354,15 @@ services: - traefik.http.routers.sabnzbd.tls=true - traefik.http.routers.sabnzbd.tls.certresolver=myresolver - traefik.http.services.sabnzbd.loadbalancer.server.port=8080 - - homepage.group=Media + - homepage.group=Download - homepage.name=Sabnzbd - homepage.icon=sabnzbd.png - homepage.href=/sabnzbd - homepage.description=Usenet - homepage.weight=6 + - homepage.widget.type=sabnzbd + - homepage.widget.url=http://sabnzbd:8080/sabnzbd + - homepage.widget.key=${SABNZBD_API_KEY} profiles: - sabnzbd jellyfin: