-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
Maxjr2 edited this page Dec 19, 2022
·
2 revisions
Getting Started here is pretty easy clone the repo and badaboom badabang it "works"
but to use the node red container you have to:
create a directory in the repo directory called nodered-data
.
this can be achieved by using mkdir nodered-data
as normal user not root because node-red is quirky and else it will not work
Because i wanted to use ssl encrytion in my production i had the great idea to also use domains to reach the containers.
In all honesty it helped with the nginx config.
to achive this i chose the domain automation01.local
and its subdomains:
manage.automation01.local
status.automation01.local
and most importantly node-red.automation01.local
the ssl certs i generated like this:
openssl req \
-x509 \
-nodes \
-days 365 \
-subj "/C=<Country example: DE>/ST=<State example: NRW>/O=<org example: Google Inc.>/CN=node-red.automation01.local" \
-addext "subjectAltName=DNS:node-red.automation01.local" \
-newkey rsa:2048 \
-keyout host_privates/node-red-selfsigned.key \
-out host_certs/node-red-selfsigned.crt;