From d9c77742a94b8bca8d126d1e4d11cdfc2f9b2ab0 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Mon, 2 Feb 2026 16:36:04 -0600 Subject: [PATCH] try again with youtarr --- hosts/h001/mods/youtarr.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/h001/mods/youtarr.nix b/hosts/h001/mods/youtarr.nix index 3cfc094f..9443c3b7 100644 --- a/hosts/h001/mods/youtarr.nix +++ b/hosts/h001/mods/youtarr.nix @@ -18,7 +18,6 @@ in virtualisation.oci-containers.containers = { "${name}" = { image = "dialmaster/youtarr:latest"; - # No ports here - using shared network from DB container volumes = [ "${hostDataDir}/config:/config" "${mediaDir}:/downloads" @@ -32,7 +31,7 @@ in DB_PASSWORD = "123qweasd"; DB_NAME = name; }; - extraOptions = [ "--network=container:${name}-db" ]; + extraOptions = [ "--network=host" ]; dependsOn = [ "${name}-db" ]; }; @@ -45,6 +44,7 @@ in MYSQL_ROOT_PASSWORD = "123qweasd"; MYSQL_DATABASE = name; }; + extraOptions = [ "--network=host" ]; cmd = [ "--port=${toString dbPort}" "--character-set-server=utf8mb4"