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