apply host gateway
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 9s
Check Nix flake / Perform Nix flake checks (pull_request) Failing after 2m21s

This commit is contained in:
2025-12-23 22:39:48 -05:00
parent 8667a9ba69
commit a8572caa7f

View File

@@ -88,7 +88,11 @@ in
environmentFiles = [
config.sops.secrets."docker/prowlarr".path
];
extraOptions = [ "--network=arrnet" ];
extraOptions = [
"--network=arrnet"
"--add-host=host.docker.internal:host-gateway"
];
volumes = [ "${vars.primary_docker}/prowlarr:/config" ];
autoStart = true;
};
@@ -110,7 +114,10 @@ in
"${vars.primary_docker}/radarr:/config"
"${vars.primary_plex_storage}/data:/data"
];
extraOptions = [ "--network=arrnet" ];
extraOptions = [
"--network=arrnet"
"--add-host=host.docker.internal:host-gateway"
];
autoStart = true;
};
sonarr = {
@@ -131,7 +138,10 @@ in
"${vars.primary_docker}/sonarr:/config"
"${vars.primary_plex_storage}/data:/data"
];
extraOptions = [ "--network=arrnet" ];
extraOptions = [
"--network=arrnet"
"--add-host=host.docker.internal:host-gateway"
];
autoStart = true;
};
lidarr = {
@@ -152,7 +162,11 @@ in
"${vars.primary_docker}/lidarr:/config"
"${vars.primary_plex_storage}/data:/data"
];
extraOptions = [ "--network=arrnet" ];
extraOptions = [
"--network=arrnet"
"--add-host=host.docker.internal:host-gateway"
];
autoStart = true;
};
unpackerr = {
@@ -209,6 +223,7 @@ in
extraOptions = [
"--network=arrnet"
"--network=haproxy-net"
"--add-host=host.docker.internal:host-gateway"
# "--health-cmd \"wget --no-verbose --tries 1 --spider http://localhost:5055/api/v1/status || exit 1\""
# "--health-start-period 20s"
# "--health-timeout 3s"