Node-red username and password in docker


I'm trying to put a username/password on my node-red that is installed on Docker.

For that, I would need to generate the hash, but the command doesn't work. When I try to install node-red-admin it doesn't work either.

Could anyone help me with this issue?

Thank you!

I don't know the context why you want to do this... I have a similar use case, in a production environment.
I have installed Traefik, a proxy usable in docker, "in front of" NodeRed. The usual 1880 port is not exposed on the host, it is only reachable via Traefik.
And, I am putting authentication on Traefik. Not on NodeRed.
It might be applicable or not. It adds another moving part though. Which in my case is no big deal as I need Traefik for other purposes.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.