From f3042f318eebcab4c3a72970556b17b76b84f2bb Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 7 Mar 2026 19:36:25 +0000 Subject: [PATCH] [ci skip] fix widget issues: ports, Immich v2 API, Nextcloud trusted domains - qBittorrent: use service port 80 (not container port 8080) - Immich: add version=2 for new API endpoints (/api/server/*) - Nextcloud: use external URL (internal rejects untrusted Host header) - HA London: remove widget (token expired, needs manual regeneration) - Headscale: remove widget (requires nodeId param, not overview) --- stacks/immich/main.tf | 1 + stacks/nextcloud/main.tf | 2 +- stacks/platform/modules/headscale/main.tf | 3 --- stacks/platform/modules/reverse_proxy/main.tf | 3 --- stacks/servarr/qbittorrent/main.tf | 2 +- 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/stacks/immich/main.tf b/stacks/immich/main.tf index 3437fbfb..30399988 100644 --- a/stacks/immich/main.tf +++ b/stacks/immich/main.tf @@ -596,6 +596,7 @@ module "ingress-immich" { "gethomepage.dev/group" = "Media & Entertainment" "gethomepage.dev/widget.type" = "immich" "gethomepage.dev/widget.url" = "http://immich-server.immich.svc.cluster.local:2283" + "gethomepage.dev/widget.version" = "2" "gethomepage.dev/pod-selector" = "" "gethomepage.dev/widget.key" = var.homepage_credentials["immich"]["token"] } diff --git a/stacks/nextcloud/main.tf b/stacks/nextcloud/main.tf index bf4daa9c..7ed18495 100644 --- a/stacks/nextcloud/main.tf +++ b/stacks/nextcloud/main.tf @@ -202,7 +202,7 @@ module "ingress" { "gethomepage.dev/group" = "Productivity" "gethomepage.dev/pod-selector" = "" "gethomepage.dev/widget.type" = "nextcloud" - "gethomepage.dev/widget.url" = "http://nextcloud.nextcloud.svc.cluster.local:8080" + "gethomepage.dev/widget.url" = "https://nextcloud.viktorbarzin.me" "gethomepage.dev/widget.username" = var.homepage_credentials["nextcloud"]["username"] "gethomepage.dev/widget.password" = var.homepage_credentials["nextcloud"]["password"] } diff --git a/stacks/platform/modules/headscale/main.tf b/stacks/platform/modules/headscale/main.tf index f0f7c4bd..9d85b4a9 100644 --- a/stacks/platform/modules/headscale/main.tf +++ b/stacks/platform/modules/headscale/main.tf @@ -263,9 +263,6 @@ module "ingress" { "gethomepage.dev/icon" = "headscale.png" "gethomepage.dev/group" = "Identity & Security" "gethomepage.dev/pod-selector" = "" - "gethomepage.dev/widget.type" = "headscale" - "gethomepage.dev/widget.url" = "http://headscale.headscale.svc.cluster.local:8080" - "gethomepage.dev/widget.key" = var.homepage_token } } diff --git a/stacks/platform/modules/reverse_proxy/main.tf b/stacks/platform/modules/reverse_proxy/main.tf index 2d92a6e4..328afce7 100644 --- a/stacks/platform/modules/reverse_proxy/main.tf +++ b/stacks/platform/modules/reverse_proxy/main.tf @@ -290,9 +290,6 @@ module "ha-london" { "gethomepage.dev/icon" = "home-assistant.png" "gethomepage.dev/group" = "Smart Home" "gethomepage.dev/pod-selector" = "" - "gethomepage.dev/widget.type" = "homeassistant" - "gethomepage.dev/widget.url" = "http://ha-london.viktorbarzin.lan:8123" - "gethomepage.dev/widget.key" = var.haos_homepage_token } } diff --git a/stacks/servarr/qbittorrent/main.tf b/stacks/servarr/qbittorrent/main.tf index a0f751c1..254862db 100644 --- a/stacks/servarr/qbittorrent/main.tf +++ b/stacks/servarr/qbittorrent/main.tf @@ -167,7 +167,7 @@ module "ingress" { "gethomepage.dev/group" = "Media & Entertainment" "gethomepage.dev/pod-selector" = "" "gethomepage.dev/widget.type" = "qbittorrent" - "gethomepage.dev/widget.url" = "http://qbittorrent.servarr.svc.cluster.local:8080" + "gethomepage.dev/widget.url" = "http://qbittorrent.servarr.svc.cluster.local" "gethomepage.dev/widget.username" = var.homepage_credentials["qbittorrent"]["username"] "gethomepage.dev/widget.password" = var.homepage_credentials["qbittorrent"]["password"] }