From e37d73fd65fd45c2c04ea19f839de5e22665a600 Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 21 Jul 2026 10:33:06 +0100 Subject: [PATCH] shelfarr: move Puma off port 3000, clashes with AdGuard on host network --- services/shelfarr.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/services/shelfarr.nix b/services/shelfarr.nix index 505a0ce..8477305 100644 --- a/services/shelfarr.nix +++ b/services/shelfarr.nix @@ -11,8 +11,11 @@ # 127.0.0.1 on the host (see sabnzbd.nix) — unreachable from a bridged # container. HTTP_PORT tells Thruster (the Rails 8 front proxy baked into # the image) to listen on 5056 directly instead of its 80 default, so it -# doesn't collide with nginx's own :80. Prowlarr/SABnzbd hookup is scripted -# in arr-interconnect.nix via `rails runner` (no public settings API here). +# doesn't collide with nginx's own :80. PORT/TARGET_PORT move the internal +# Puma backend off its 3000 default too — with host networking that's no +# longer container-isolated, and AdGuard's web UI already owns :3000 on +# this host (see adguard.nix). Prowlarr/SABnzbd hookup is scripted in +# arr-interconnect.nix via `rails runner` (no public settings API here). { config, lib, ... }: { config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { @@ -33,6 +36,8 @@ TZ = "Europe/London"; SOLID_QUEUE_IN_PUMA = "1"; HTTP_PORT = "5056"; + PORT = "5057"; + TARGET_PORT = "5057"; # Matches fred:media ownership (2775) on /mnt/storage/torrents/audiobooks PUID = "1000"; PGID = "3000";