diff --git a/options/custom/containers/actualbudget.nix b/options/custom/containers/actualbudget.nix index 00610e9..f559be6 100644 --- a/options/custom/containers/actualbudget.nix +++ b/options/custom/containers/actualbudget.nix @@ -16,7 +16,7 @@ in { actualbudget.service = { container_name = "actualbudget"; image = "actualbudget/actual-server:25.2.1"; - ports = ["127.0.0.1:5006:5006"]; + ports = ["127.0.0.1:5006:5006/tcp"]; restart = "unless-stopped"; volumes = ["${config.custom.containers.directory}/actualbudget/data:/data"]; }; diff --git a/options/custom/containers/conduwuit.nix b/options/custom/containers/conduwuit.nix index d074017..f8662ef 100644 --- a/options/custom/containers/conduwuit.nix +++ b/options/custom/containers/conduwuit.nix @@ -25,7 +25,7 @@ in { conduwuit.service = { container_name = "conduwuit"; image = "girlbossceo/conduwuit:main"; - ports = ["127.0.0.1:6167:6167"]; + ports = ["127.0.0.1:6167:6167/tcp"]; restart = "unless-stopped"; environment = { diff --git a/options/custom/containers/forgejo.nix b/options/custom/containers/forgejo.nix index 3817722..a4858e2 100644 --- a/options/custom/containers/forgejo.nix +++ b/options/custom/containers/forgejo.nix @@ -38,8 +38,8 @@ in { volumes = ["${config.custom.containers.directory}/forgejo/data:/data"]; ports = [ - "127.0.0.1:3333:3000" - "22:2222" + "127.0.0.1:3333:3000/tcp" + "22:2222/tcp" ]; }; diff --git a/options/custom/containers/foundryvtt.nix b/options/custom/containers/foundryvtt.nix index c4b336a..4ebacf5 100644 --- a/options/custom/containers/foundryvtt.nix +++ b/options/custom/containers/foundryvtt.nix @@ -26,7 +26,7 @@ in { container_name = "foundryvtt"; env_file = [config.age.secrets."${config.custom.profile}/foundryvtt/.env".path]; image = "felddy/foundryvtt:12"; - ports = ["127.0.0.1:30000:30000"]; + ports = ["127.0.0.1:30000:30000/tcp"]; restart = "unless-stopped"; volumes = ["${config.custom.containers.directory}/foundryvtt/data:/data"]; }; diff --git a/options/custom/containers/headscale.nix b/options/custom/containers/headscale.nix index ffc75d4..51e66f0 100644 --- a/options/custom/containers/headscale.nix +++ b/options/custom/containers/headscale.nix @@ -35,8 +35,8 @@ in { restart = "unless-stopped"; ports = [ - "9999:9999" - "9090:9090" + "9999:9999/tcp" + "9090:9090/tcp" ]; volumes = [ diff --git a/options/custom/containers/homeassistant.nix b/options/custom/containers/homeassistant.nix index 67c10cd..50050bf 100644 --- a/options/custom/containers/homeassistant.nix +++ b/options/custom/containers/homeassistant.nix @@ -16,7 +16,7 @@ in { homeassistant.service = { container_name = "homeassistant"; image = "homeassistant/home-assistant:2025.1"; - ports = ["8123:8123"]; + ports = ["8123:8123/tcp"]; restart = "unless-stopped"; volumes = ["${config.custom.containers.directory}/homeassistant/config:/config"]; }; diff --git a/options/custom/containers/mastodon.nix b/options/custom/containers/mastodon.nix index a1199d1..5577f7d 100644 --- a/options/custom/containers/mastodon.nix +++ b/options/custom/containers/mastodon.nix @@ -29,7 +29,7 @@ in { container_name = "mastodon"; env_file = [config.age.secrets."${config.custom.profile}/mastodon/.env".path]; image = "lscr.io/linuxserver/mastodon:4.3.3"; - ports = ["3000:443"]; + ports = ["3000:443/tcp"]; restart = "unless-stopped"; volumes = ["${config.custom.containers.directory}/mastodon/config:/config"]; diff --git a/options/custom/containers/netbox/default.nix b/options/custom/containers/netbox/default.nix index 386ceff..243d7f0 100644 --- a/options/custom/containers/netbox/default.nix +++ b/options/custom/containers/netbox/default.nix @@ -39,7 +39,7 @@ in { netbox.service = netbox // { - ports = ["8585:8080"]; + ports = ["8585:8080/tcp"]; # https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins #!! Context modifications require a rebuild diff --git a/options/custom/containers/nextcloud.nix b/options/custom/containers/nextcloud.nix index 8b63e17..55f4f8e 100644 --- a/options/custom/containers/nextcloud.nix +++ b/options/custom/containers/nextcloud.nix @@ -28,7 +28,7 @@ in { container_name = "nextcloud"; env_file = [config.age.secrets."${config.custom.profile}/nextcloud/.env".path]; image = "nextcloud:29-apache"; - ports = ["127.0.0.1:8181:80"]; + ports = ["127.0.0.1:8181:80/tcp"]; restart = "unless-stopped"; volumes = [ diff --git a/options/custom/containers/oryx.nix b/options/custom/containers/oryx.nix index 5e2af4e..d038cdc 100644 --- a/options/custom/containers/oryx.nix +++ b/options/custom/containers/oryx.nix @@ -28,8 +28,8 @@ in { image = "ossrs/oryx:5"; ports = [ - "127.0.0.1:2022:2022" # HTTP - "1935:1935" # RTMP + "127.0.0.1:2022:2022/tcp" # HTTP + "1935:1935/tcp" # RTMP "8000:8000/udp" # WebRTC "10080:10080/udp" # SRT ]; diff --git a/options/custom/containers/owncast.nix b/options/custom/containers/owncast.nix index eec64f1..31f1a90 100644 --- a/options/custom/containers/owncast.nix +++ b/options/custom/containers/owncast.nix @@ -20,8 +20,8 @@ in { volumes = ["${config.custom.containers.directory}/owncast/data:/app/data"]; ports = [ - "1935:1935" - "127.0.0.1:8800:8080" + "1935:1935/tcp" + "127.0.0.1:8800:8080/tcp" ]; }; }; diff --git a/options/custom/containers/redlib.nix b/options/custom/containers/redlib.nix index c858dac..bf255fb 100644 --- a/options/custom/containers/redlib.nix +++ b/options/custom/containers/redlib.nix @@ -16,7 +16,7 @@ in { redlib.service = { container_name = "redlib"; image = "quay.io/redlib/redlib:latest"; - ports = ["127.0.0.1:8888:8080"]; + ports = ["127.0.0.1:8888:8080/tcp"]; restart = "unless-stopped"; environment = { diff --git a/options/custom/containers/searxng/default.nix b/options/custom/containers/searxng/default.nix index a9903b7..d9e170d 100644 --- a/options/custom/containers/searxng/default.nix +++ b/options/custom/containers/searxng/default.nix @@ -29,7 +29,7 @@ in { depends_on = ["cache"]; env_file = [config.age.secrets."${config.custom.profile}/searxng/.env".path]; image = "searxng/searxng:latest"; - ports = ["127.0.0.1:8000:8080"]; + ports = ["127.0.0.1:8000:8080/tcp"]; restart = "unless-stopped"; volumes = [