assign ip to npm
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "HTTP Port",
|
"label": "HTTP Port",
|
||||||
"env_variable": "NPM_HTTP_PORT",
|
"env_variable": "NPM_HTTP_PORT",
|
||||||
"default": "1180",
|
"default": "80",
|
||||||
"required": true,
|
"required": true,
|
||||||
"hint": "Port for HTTP traffic (mapped to container port 80)"
|
"hint": "Port for HTTP traffic (mapped to container port 80)"
|
||||||
},
|
},
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "HTTPS Port",
|
"label": "HTTPS Port",
|
||||||
"env_variable": "NPM_HTTPS_PORT",
|
"env_variable": "NPM_HTTPS_PORT",
|
||||||
"default": "11443",
|
"default": "443",
|
||||||
"required": true,
|
"required": true,
|
||||||
"hint": "Port for HTTPS traffic (mapped to container port 443)"
|
"hint": "Port for HTTPS traffic (mapped to container port 443)"
|
||||||
},
|
},
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "Web UI Port",
|
"label": "Web UI Port",
|
||||||
"env_variable": "NPM_WEBUI_PORT",
|
"env_variable": "NPM_WEBUI_PORT",
|
||||||
"default": "1181",
|
"default": "81",
|
||||||
"required": true,
|
"required": true,
|
||||||
"hint": "Port for HTTPS traffic (mapped to container port 443)"
|
"hint": "Port for HTTPS traffic (mapped to container port 443)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,15 @@
|
|||||||
"internalPort": 81,
|
"internalPort": 81,
|
||||||
"addPorts": [
|
"addPorts": [
|
||||||
{
|
{
|
||||||
"hostPort": "${NPM_HTTP_PORT}",
|
"hostPort": "192.168.1.150:${NPM_HTTP_PORT}",
|
||||||
"containerPort": 80
|
"containerPort": 80
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostPort": "${NPM_HTTPS_PORT}",
|
"hostPort": "192.168.1.150:${NPM_HTTPS_PORT}",
|
||||||
"containerPort": 443
|
"containerPort": 443
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostPort": "${NPM_WEBUI_PORT}",
|
"hostPort": "192.168.1.150:${NPM_WEBUI_PORT}",
|
||||||
"containerPort": 81
|
"containerPort": 81
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user