From 527d8ffb9696e13e326de4e3dfa434b2d1069128 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 19 Aug 2023 12:50:49 +0930 Subject: [PATCH] feat(docker): listen port updated to HTTP/80 !11 --- dockerfile | 4 +++- includes/data/settings.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index bdeb7e2..5bab47a 100644 --- a/dockerfile +++ b/dockerfile @@ -53,4 +53,6 @@ USER node-red RUN cd /data; \ 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 diff --git a/includes/data/settings.js b/includes/data/settings.js index ea6771f..1acb8fb 100644 --- a/includes/data/settings.js +++ b/includes/data/settings.js @@ -141,7 +141,7 @@ module.exports = { ******************************************************************************/ /** 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. * To listen on all IPv6 addresses, set uiHost to "::",