You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kebler Network System Administrator
||8 months ago|
|apps||8 months ago|
|.gitignore||8 months ago|
|docker-compose.yml||8 months ago|
|logs||8 months ago|
|make-env-file||8 months ago|
|readme.md||8 months ago|
|restart||8 months ago|
|start||8 months ago|
|stop||8 months ago|
|term||8 months ago|
|upgrade||8 months ago|
Node Red App Generator - Docker Based
This repo with docker and docker compose will spin up a node/node-red container for a single node red application.
- clone repo
- create .cfg file from example in /apps folder
./make-env-file <name of your cfg file>to make corresponding .env file
- now you can run ./start
- use ./logs to attach to container for viewing logs
#!/bin/bash # Custom container name, default is <cfg filename>-nodered-app # Name=containername # Custom user, default is current user (must be in docker group) # USER=jim # not needed if current host user is 1000 # TZ=America/Los_Angles # default # settings will be put in <parentfolder>/node-red-app/<cfg filename> Parent_Folder=/data # "extra-host" set broker and home assistant ips on host inside container Broker=broker.mynetwork.net # will lookup ip using dig HomeAssistant=ha.kebler.net # will look up ip using dig # give a custom tag. https://hub.docker.com/r/nodered/node-red/tags # Tag=latest-18 # this is tje default Port=1881 # MUST be changed to avoid conflict with other node red app containers
Then set up a reverse proxy if you want to the port you set
TODO - Make DockerFile that will load in an existing settings folder for a self contained deployment of an app.