From bfcc3a15ac2f9604318c7b5ce2a7a31460bdf8d2 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Mon, 2 Feb 2026 16:11:35 -0600 Subject: [PATCH] Fix port mapping: use internalPort and remove ports list --- hosts/h001/mods/youtarr.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hosts/h001/mods/youtarr.nix b/hosts/h001/mods/youtarr.nix index 1538ad14..3cfc094f 100644 --- a/hosts/h001/mods/youtarr.nix +++ b/hosts/h001/mods/youtarr.nix @@ -38,10 +38,6 @@ in "${name}-db" = { image = "mariadb:10.3"; - ports = [ - "${toString port}:${toString internalPort}" - "${toString dbPort}:${toString dbPort}" - ]; volumes = [ "${hostDataDir}/database:/var/lib/mysql" ]; @@ -87,7 +83,7 @@ in vpnNamespaces.wg.portMappings = [ { from = port; - to = port; + to = internalPort; } ];