Code Monkey home page Code Monkey logo

Comments (7)

hardillb avatar hardillb commented on May 28, 2024 1

@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.

jthomas avatar jthomas commented on May 28, 2024

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.

luisgcu avatar luisgcu commented on May 28, 2024

@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.

mabunixda avatar mabunixda commented on May 28, 2024

@luisgcu are you mounting a volume on synology within advanced settings? and to the correct path?

from node-red-docker.

wimmatthijs avatar wimmatthijs commented on May 28, 2024

https://ligerlearn.com/how-to-edit-files-within-docker-containers/

from node-red-docker.

dceejay avatar dceejay commented on May 28, 2024

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.

LCMilstein avatar LCMilstein commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.