feat(docker): listen port updated to HTTP/80

!11
This commit is contained in:
2023-08-19 12:50:49 +09:30
parent 90aa8d59bd
commit 527d8ffb96
2 changed files with 4 additions and 2 deletions

View File

@ -53,4 +53,6 @@ USER node-red
RUN cd /data; \ RUN cd /data; \
npm install --unsafe-perm --no-update-notifier --no-fund --only=production passport passport-keycloak-oauth2-oidc; npm install --unsafe-perm --no-update-notifier --no-fund --only=production passport passport-keycloak-oauth2-oidc;
HEALTHCHECK CMD curl http://localhost:1880/admin || exit 1 HEALTHCHECK CMD curl http://localhost:80/admin || exit 1
EXPOSE 80

View File

@ -141,7 +141,7 @@ module.exports = {
******************************************************************************/ ******************************************************************************/
/** the tcp port that the Node-RED web server is listening on */ /** the tcp port that the Node-RED web server is listening on */
uiPort: process.env.PORT || 1880, uiPort: process.env.PORT || 80,
/** By default, the Node-RED UI accepts connections on all IPv4 interfaces. /** By default, the Node-RED UI accepts connections on all IPv4 interfaces.
* To listen on all IPv6 addresses, set uiHost to "::", * To listen on all IPv6 addresses, set uiHost to "::",