Explicitly port map to localhost

https://github.com/NixOS/nixpkgs/issues/111852
This commit is contained in:
2023-05-30 22:24:13 +01:00
parent 11c8725a87
commit 44e91f0653

View File

@ -89,7 +89,7 @@ with lib.my;
jellyfin = { jellyfin = {
image = "docker.io/jellyfin/jellyfin:10.8.10"; image = "docker.io/jellyfin/jellyfin:10.8.10";
autoStart = true; autoStart = true;
ports = [ "8096:8096/tcp" ]; ports = [ "127.0.0.1:8096:8096/tcp" ];
volumes = [ volumes = [
"jellyfin-cache:/cache:Z" "jellyfin-cache:/cache:Z"
"jellyfin-config:/config:Z" "jellyfin-config:/config:Z"
@ -106,7 +106,7 @@ with lib.my;
ombi = { ombi = {
image = "lscr.io/linuxserver/ombi:latest"; image = "lscr.io/linuxserver/ombi:latest";
autoStart = true; autoStart = true;
ports = [ "3579:3579/tcp" ]; ports = [ "127.0.0.1:3579:3579/tcp" ];
environment = { environment = {
BASE_URL = "/requests"; BASE_URL = "/requests";
}; };
@ -122,9 +122,9 @@ with lib.my;
image = "lscr.io/linuxserver/qbittorrent:latest"; image = "lscr.io/linuxserver/qbittorrent:latest";
autoStart = true; autoStart = true;
ports = [ ports = [
"8080:8080/tcp" "127.0.0.1:8080:8080/tcp"
"6881:6881/tcp" "127.0.0.1:6881:6881/tcp"
"6881:6881/udp" "127.0.0.1:6881:6881/udp"
]; ];
volumes = [ volumes = [
"qbittorrent-config:/config:Z" "qbittorrent-config:/config:Z"
@ -137,7 +137,7 @@ with lib.my;
radarr = { radarr = {
image = "lscr.io/linuxserver/radarr:latest"; image = "lscr.io/linuxserver/radarr:latest";
autoStart = true; autoStart = true;
ports = [ "7878:7078/tcp" ]; ports = [ "127.0.0.1:7878:7078/tcp" ];
volumes = [ volumes = [
"radarr-config:/config:Z" "radarr-config:/config:Z"
"downloads:/downloads" "downloads:/downloads"
@ -151,7 +151,7 @@ with lib.my;
sonarr = { sonarr = {
image = "lscr.io/linuxserver/sonarr:latest"; image = "lscr.io/linuxserver/sonarr:latest";
autoStart = true; autoStart = true;
ports = [ "8989:8989/tcp" ]; ports = [ "127.0.0.1:8989:8989/tcp" ];
volumes = [ volumes = [
"sonarr-config:/config:Z" "sonarr-config:/config:Z"
"downloads:/downloads" "downloads:/downloads"