fix: use hostPort string format for IP binding, remove hostIp field
This commit is contained in:
@@ -28,14 +28,6 @@
|
||||
"required": true,
|
||||
"default": "/nas",
|
||||
"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"],
|
||||
|
||||
@@ -9,16 +9,12 @@
|
||||
"hostname": "nas",
|
||||
"addPorts": [
|
||||
{
|
||||
"hostPort": 445,
|
||||
"containerPort": 445,
|
||||
"protocol": "tcp",
|
||||
"hostIp": "${BIND_IP:-192.168.0.15}"
|
||||
"hostPort": "192.168.0.15:445",
|
||||
"containerPort": 445
|
||||
},
|
||||
{
|
||||
"hostPort": 139,
|
||||
"containerPort": 139,
|
||||
"protocol": "tcp",
|
||||
"hostIp": "${BIND_IP:-192.168.0.15}"
|
||||
"hostPort": "192.168.0.15:139",
|
||||
"containerPort": 139
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
|
||||
Reference in New Issue
Block a user