From 5e265ae184bd734480db28b4bd0b88678860818f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 6 Mar 2024 14:35:29 -0500 Subject: [PATCH] fix(calibre): add env vars to support subdir reverse proxy --- devices/cluster/modules/caddy.nix | 6 +----- devices/nos/modules/arion/media/calibre/compose.nix | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/devices/cluster/modules/caddy.nix b/devices/cluster/modules/caddy.nix index 1149368..7854c1a 100644 --- a/devices/cluster/modules/caddy.nix +++ b/devices/cluster/modules/caddy.nix @@ -123,11 +123,7 @@ in { radarr.reverseProxy = "${nosIP}:7878"; sabnzbd.reverseProxy = "${nosIP}:8382"; sonarr.reverseProxy = "${nosIP}:8989"; - - calibre = { - experimental = true; - reverseProxy = "${nosIP}:8580"; - }; + calibre.reverseProxy = "${nosIP}:8580"; qbittorent = { subDirName = "qbt"; diff --git a/devices/nos/modules/arion/media/calibre/compose.nix b/devices/nos/modules/arion/media/calibre/compose.nix index d6d5829..c4164a8 100644 --- a/devices/nos/modules/arion/media/calibre/compose.nix +++ b/devices/nos/modules/arion/media/calibre/compose.nix @@ -12,6 +12,11 @@ in { PUID = "1000"; PGID = "1000"; TZ = "America/New_York"; + + # WebUI vars + SUBFOLDER = "/calibre/"; + TITLE = "CalibreDB"; + NO_DECOR = "true"; }; volumes = ["${rwPath}/data-db:/config"];