fix: use internalPort 9090 for cockpit, let Traefik handle routing, use interface field for SMB IP binding
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
"name": "NAS Samba",
|
"name": "NAS Samba",
|
||||||
"id": "nas-samba",
|
"id": "nas-samba",
|
||||||
"available": true,
|
"available": true,
|
||||||
"exposable": false,
|
"port": 9090,
|
||||||
|
"exposable": true,
|
||||||
"dynamic_config": true,
|
"dynamic_config": true,
|
||||||
"no_gui": true,
|
"no_gui": false,
|
||||||
"tipi_version": 1,
|
"tipi_version": 1,
|
||||||
"version": "latest",
|
"version": "latest",
|
||||||
"categories": ["network", "utilities"],
|
"categories": ["network", "utilities"],
|
||||||
|
|||||||
@@ -9,12 +9,14 @@
|
|||||||
"hostname": "nas",
|
"hostname": "nas",
|
||||||
"addPorts": [
|
"addPorts": [
|
||||||
{
|
{
|
||||||
"hostPort": "${BIND_IP}:445",
|
"hostPort": 445,
|
||||||
"containerPort": 445
|
"containerPort": 445,
|
||||||
|
"interface": "${BIND_IP}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostPort": "${BIND_IP}:139",
|
"hostPort": 139,
|
||||||
"containerPort": 139
|
"containerPort": 139,
|
||||||
|
"interface": "${BIND_IP}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
@@ -46,7 +48,7 @@
|
|||||||
"name": "nas-cockpit",
|
"name": "nas-cockpit",
|
||||||
"image": "quay.io/cockpit/ws:latest",
|
"image": "quay.io/cockpit/ws:latest",
|
||||||
"isMain": true,
|
"isMain": true,
|
||||||
"networkMode": "host",
|
"internalPort": 9090,
|
||||||
"privileged": true,
|
"privileged": true,
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user