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 = {
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"];
};

View file

@ -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 = {

View file

@ -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"
];
};

View file

@ -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"];
};

View file

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

View file

@ -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"];
};

View file

@ -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"];

View file

@ -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

View file

@ -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 = [

View file

@ -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
];

View file

@ -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"
];
};
};

View file

@ -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 = {

View file

@ -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 = [