Comments (7)
@LCMilstein Please ask questions on the Node-RED forum or in the Node-RED Slack (both linked to on the bottom of the Node-RED home page) or on Stack Overflow with a suitable tag. We only use issues for tracking actual defects in the code.
When you open post on one of those locations please include the error messages from the container when it crashes so we can see why it is failing.
from node-red-docker.
HTTPS can be enabled using configuration from the settings.js
file used in the container. See the https
configuration value.
Authentication can also be enabled using the same approach. See this guide for more details.
from node-red-docker.
@jthomas I trying to get the Node-red password to work on my docker container in Synology, but it doesn't work for me. Not sure what I missing, I have some previous experiences setting node-red password on rpi and ubunto and always worked ok for me..
I followed the guide in your previous post, but it seems node-red on docker is not reading that settings.js file .. update.. while I was writing this note, i tried another way.. and it worked fine, I had to get into the container and edit settings.js, What I did before is edit the setting file that is mounted outside of the container... but that way seems the changes made are not reflected back to the NR container.. not sure if am right .. a clarification for a rookie will be welcome.
thanks
from node-red-docker.
@luisgcu are you mounting a volume on synology within advanced settings? and to the correct path?
from node-red-docker.
https://ligerlearn.com/how-to-edit-files-within-docker-containers/
from node-red-docker.
Node-RED 1.0.0 is now available on docker hub - https://hub.docker.com/r/nodered/node-red.
Hopefully the latest README covers how to set the settings file and his can be closed. Please re-open if not.
There are a few changes to the new release, please read the README for further details.
from node-red-docker.
I know this is several years old, but I can't find a more recent relevant thread...
- I have the same setup... Node-Red running in Docker on Synology NAS. I have found the proper settings.js file and I understand how to edit it.
- I am not clear, however, how to point the settings at the proper certificates.
- I attempted to follow the guide here: http://stevesnoderedguide.com/securing-node-red-ssl and it seems to work in that the files get created (node-cert.pem, node-csr.pem, and node-key.pem)
- I then edited the settings.js to uncomment the first option for https and the require https lines...
However, when I restart the container, it crashes and restarts in a loop. If I re-comment the lines, it all works fine on http. I'm guessing I'm doing something wrong with the certs, either putting them in the wrong place or missing a step or something, but I can't figure it out. Anyone able to point me in the right direction?
from node-red-docker.
Related Issues (20)
- ERROR [release 4/7] RUN npm config set python which python3 --global HOT 2
- Define niceness of the process - High priority HOT 1
- Docker images on the Hub are 9 months out of date / not regularly published even when there isn't a Node Red update HOT 21
- No matching manifest for windows/amd64 HOT 2
- NPM fails to install due to running node v14 instead of recommend v16 HOT 6
- TensorFlow nodes can't be installed due to Alpine image incompatibilty HOT 2
- ERROR: failed to solve: process "/bin/sh -c ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh" HOT 8
- Getting errors trying to update Node-red-contrib-bigtimer and node-red-contrib-home-assistant-websocket HOT 13
- latest is actually -16, shouldn't it be -18? HOT 1
- Cannot load external flows for env var FLOWS=http... HOT 1
- Image with Debian and 18 HOT 8
- Crashing on RPi3 armv7l after latest build HOT 8
- docker pull 'missing signature key' HOT 4
- Support Node 20 HOT 4
- Problems accessing the ttyS2 HOT 5
- unhealthy state since v3.0.0 HOT 9
- Docker image with node 18.x core dumped HOT 12
- I'm not able to create mountpath: /data HOT 4
- Cannot install new nodes on fresh Docker image HOT 9
- Node-Red image v3.1.6-18 has CVE-2023-42282 vulnerability HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-docker.