1
1
Fork 0

containers: explicitly indicate tcp ports

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-06 20:42:13 -06:00
parent a169bf2511
commit 88e234f0ac
Signed by: Myned
GPG key ID: C7224454F7881A34
13 changed files with 17 additions and 17 deletions

View file

@ -16,7 +16,7 @@ in {
actualbudget.service = { actualbudget.service = {
container_name = "actualbudget"; container_name = "actualbudget";
image = "actualbudget/actual-server:25.2.1"; 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"; restart = "unless-stopped";
volumes = ["${config.custom.containers.directory}/actualbudget/data:/data"]; volumes = ["${config.custom.containers.directory}/actualbudget/data:/data"];
}; };

View file

@ -25,7 +25,7 @@ in {
conduwuit.service = { conduwuit.service = {
container_name = "conduwuit"; container_name = "conduwuit";
image = "girlbossceo/conduwuit:main"; image = "girlbossceo/conduwuit:main";
ports = ["127.0.0.1:6167:6167"]; ports = ["127.0.0.1:6167:6167/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
environment = { environment = {

View file

@ -38,8 +38,8 @@ in {
volumes = ["${config.custom.containers.directory}/forgejo/data:/data"]; volumes = ["${config.custom.containers.directory}/forgejo/data:/data"];
ports = [ ports = [
"127.0.0.1:3333:3000" "127.0.0.1:3333:3000/tcp"
"22:2222" "22:2222/tcp"
]; ];
}; };

View file

@ -26,7 +26,7 @@ in {
container_name = "foundryvtt"; container_name = "foundryvtt";
env_file = [config.age.secrets."${config.custom.profile}/foundryvtt/.env".path]; env_file = [config.age.secrets."${config.custom.profile}/foundryvtt/.env".path];
image = "felddy/foundryvtt:12"; image = "felddy/foundryvtt:12";
ports = ["127.0.0.1:30000:30000"]; ports = ["127.0.0.1:30000:30000/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
volumes = ["${config.custom.containers.directory}/foundryvtt/data:/data"]; volumes = ["${config.custom.containers.directory}/foundryvtt/data:/data"];
}; };

View file

@ -35,8 +35,8 @@ in {
restart = "unless-stopped"; restart = "unless-stopped";
ports = [ ports = [
"9999:9999" "9999:9999/tcp"
"9090:9090" "9090:9090/tcp"
]; ];
volumes = [ volumes = [

View file

@ -16,7 +16,7 @@ in {
homeassistant.service = { homeassistant.service = {
container_name = "homeassistant"; container_name = "homeassistant";
image = "homeassistant/home-assistant:2025.1"; image = "homeassistant/home-assistant:2025.1";
ports = ["8123:8123"]; ports = ["8123:8123/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
volumes = ["${config.custom.containers.directory}/homeassistant/config:/config"]; volumes = ["${config.custom.containers.directory}/homeassistant/config:/config"];
}; };

View file

@ -29,7 +29,7 @@ in {
container_name = "mastodon"; container_name = "mastodon";
env_file = [config.age.secrets."${config.custom.profile}/mastodon/.env".path]; env_file = [config.age.secrets."${config.custom.profile}/mastodon/.env".path];
image = "lscr.io/linuxserver/mastodon:4.3.3"; image = "lscr.io/linuxserver/mastodon:4.3.3";
ports = ["3000:443"]; ports = ["3000:443/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
volumes = ["${config.custom.containers.directory}/mastodon/config:/config"]; volumes = ["${config.custom.containers.directory}/mastodon/config:/config"];

View file

@ -39,7 +39,7 @@ in {
netbox.service = netbox.service =
netbox netbox
// { // {
ports = ["8585:8080"]; ports = ["8585:8080/tcp"];
# https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins # https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
#!! Context modifications require a rebuild #!! Context modifications require a rebuild

View file

@ -28,7 +28,7 @@ in {
container_name = "nextcloud"; container_name = "nextcloud";
env_file = [config.age.secrets."${config.custom.profile}/nextcloud/.env".path]; env_file = [config.age.secrets."${config.custom.profile}/nextcloud/.env".path];
image = "nextcloud:29-apache"; image = "nextcloud:29-apache";
ports = ["127.0.0.1:8181:80"]; ports = ["127.0.0.1:8181:80/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
volumes = [ volumes = [

View file

@ -28,8 +28,8 @@ in {
image = "ossrs/oryx:5"; image = "ossrs/oryx:5";
ports = [ ports = [
"127.0.0.1:2022:2022" # HTTP "127.0.0.1:2022:2022/tcp" # HTTP
"1935:1935" # RTMP "1935:1935/tcp" # RTMP
"8000:8000/udp" # WebRTC "8000:8000/udp" # WebRTC
"10080:10080/udp" # SRT "10080:10080/udp" # SRT
]; ];

View file

@ -20,8 +20,8 @@ in {
volumes = ["${config.custom.containers.directory}/owncast/data:/app/data"]; volumes = ["${config.custom.containers.directory}/owncast/data:/app/data"];
ports = [ ports = [
"1935:1935" "1935:1935/tcp"
"127.0.0.1:8800:8080" "127.0.0.1:8800:8080/tcp"
]; ];
}; };
}; };

View file

@ -16,7 +16,7 @@ in {
redlib.service = { redlib.service = {
container_name = "redlib"; container_name = "redlib";
image = "quay.io/redlib/redlib:latest"; image = "quay.io/redlib/redlib:latest";
ports = ["127.0.0.1:8888:8080"]; ports = ["127.0.0.1:8888:8080/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
environment = { environment = {

View file

@ -29,7 +29,7 @@ in {
depends_on = ["cache"]; depends_on = ["cache"];
env_file = [config.age.secrets."${config.custom.profile}/searxng/.env".path]; env_file = [config.age.secrets."${config.custom.profile}/searxng/.env".path];
image = "searxng/searxng:latest"; image = "searxng/searxng:latest";
ports = ["127.0.0.1:8000:8080"]; ports = ["127.0.0.1:8000:8080/tcp"];
restart = "unless-stopped"; restart = "unless-stopped";
volumes = [ volumes = [