fix: use variable BIND_IP in hostPort for SMB ports
This commit is contained in:
@@ -28,6 +28,14 @@
|
|||||||
"required": true,
|
"required": true,
|
||||||
"default": "/nas",
|
"default": "/nas",
|
||||||
"hint": "Host path to share via SMB"
|
"hint": "Host path to share via SMB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Bind IP",
|
||||||
|
"env_variable": "BIND_IP",
|
||||||
|
"required": true,
|
||||||
|
"default": "192.168.0.15",
|
||||||
|
"hint": "IP address to bind SMB ports to"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"supported_architectures": ["arm64", "amd64"],
|
"supported_architectures": ["arm64", "amd64"],
|
||||||
|
|||||||
@@ -9,11 +9,11 @@
|
|||||||
"hostname": "nas",
|
"hostname": "nas",
|
||||||
"addPorts": [
|
"addPorts": [
|
||||||
{
|
{
|
||||||
"hostPort": "192.168.0.15:445",
|
"hostPort": "${BIND_IP}:445",
|
||||||
"containerPort": 445
|
"containerPort": 445
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostPort": "192.168.0.15:139",
|
"hostPort": "${BIND_IP}:139",
|
||||||
"containerPort": 139
|
"containerPort": 139
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user