fix: use internalPort 9090 for cockpit, let Traefik handle routing, use interface field for SMB IP binding

This commit is contained in:
2026-03-09 18:38:20 +00:00
parent 3c438ca093
commit b9d573aeac
2 changed files with 10 additions and 7 deletions

View File

@@ -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": [
{