chore: fixes and feat #17

Merged
jon_nfc merged 4 commits from fix-docker into development 2023-08-19 03:47:30 +00:00
3 changed files with 206 additions and 76 deletions

View File

@ -53,6 +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
VOLUME [ "/data", "/usr/src/node-red" ]
EXPOSE 80

File diff suppressed because one or more lines are too long

View File

@ -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 "::",
@ -298,7 +298,7 @@ module.exports = {
/** Whether or not to include metric events in the log output */
metrics: false,
/** Whether or not to include audit events in the log output */
audit: false
audit: true
}
},