From b9d573aeac20d3047bee45fdf52c88f68b2413d3 Mon Sep 17 00:00:00 2001 From: alexz Date: Mon, 9 Mar 2026 18:38:20 +0000 Subject: [PATCH] fix: use internalPort 9090 for cockpit, let Traefik handle routing, use interface field for SMB IP binding --- apps/nas-samba/config.json | 5 +++-- apps/nas-samba/docker-compose.json | 12 +++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/apps/nas-samba/config.json b/apps/nas-samba/config.json index f23959d..f760ba6 100644 --- a/apps/nas-samba/config.json +++ b/apps/nas-samba/config.json @@ -3,9 +3,10 @@ "name": "NAS Samba", "id": "nas-samba", "available": true, - "exposable": false, + "port": 9090, + "exposable": true, "dynamic_config": true, - "no_gui": true, + "no_gui": false, "tipi_version": 1, "version": "latest", "categories": ["network", "utilities"], diff --git a/apps/nas-samba/docker-compose.json b/apps/nas-samba/docker-compose.json index 4976eee..aa97fd2 100644 --- a/apps/nas-samba/docker-compose.json +++ b/apps/nas-samba/docker-compose.json @@ -9,12 +9,14 @@ "hostname": "nas", "addPorts": [ { - "hostPort": "${BIND_IP}:445", - "containerPort": 445 + "hostPort": 445, + "containerPort": 445, + "interface": "${BIND_IP}" }, { - "hostPort": "${BIND_IP}:139", - "containerPort": 139 + "hostPort": 139, + "containerPort": 139, + "interface": "${BIND_IP}" } ], "volumes": [ @@ -46,7 +48,7 @@ "name": "nas-cockpit", "image": "quay.io/cockpit/ws:latest", "isMain": true, - "networkMode": "host", + "internalPort": 9090, "privileged": true, "volumes": [ {