summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFloMaetschke <[email protected]>2020-10-07 23:58:31 +0200
committerGitHub <[email protected]>2020-10-07 17:58:31 -0400
commit692dbd8e6e999f641a52eda7dbf4f86558a4f55f (patch)
tree67217900e53691814104f47b6c1787999fa999c3
parentf33ca414d664092db4425626c39a326adc1f1ba9 (diff)
downloadcaprover-one-click-apps-692dbd8e6e999f641a52eda7dbf4f86558a4f55f.tar.gz
caprover-one-click-apps-692dbd8e6e999f641a52eda7dbf4f86558a4f55f.zip
Create node-red.yml (#277)
* Create node-red.yml Adds Node-Red oneclick-app * adds missing logo * prettier formatter using vscode * formatted with prettier not default vscode yaml...
-rw-r--r--public/v4/apps/node-red.yml33
-rw-r--r--public/v4/logos/node-red.pngbin0 -> 17643 bytes
2 files changed, 33 insertions, 0 deletions
diff --git a/public/v4/apps/node-red.yml b/public/v4/apps/node-red.yml
new file mode 100644
index 0000000..1aa4ff9
--- /dev/null
+++ b/public/v4/apps/node-red.yml
@@ -0,0 +1,33 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ image: nodered/node-red:$$cap_node-red_version
+ volumes:
+ - $$cap_appname-data:/data
+ restart: always
+ enviroment:
+ - TZ=$$cap_node-red_timezone
+ caproverExtra:
+ containerHttpPort: '1880'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_node-red_version
+ label: node-red version tag
+ description: Checkout their docker page for the valid tags @ https://hub.docker.com/r/nodered/node-red/tags
+ defaultValue: 1.1.3-12-minimal
+ - id: $$cap_node-red_timezone
+ label: timezone
+ description: Checkout this list and use tz database name as value @ https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+ defaultValue: Europe/Berlin
+ instructions:
+ start: Low-code programming for event-driven applications
+ end: >-
+ node-red is deployed and available as $$cap_appname.
+ To make it function correctly, you have to enable websocket-support.
+ It would be also a good idea to set basic authentication or modify the node-red settings respectively to the documentation.
+
+ IMPORTANT: It will take up to 2 minutes for node-red to be ready. Before that, you might see 502 error page.
+ displayName: 'Node-Red'
+ description: Low-code programming for event-driven applications
+ documentation: Read the documentation @ https://nodered.org/docs/
+ isOfficial: true
diff --git a/public/v4/logos/node-red.png b/public/v4/logos/node-red.png
new file mode 100644
index 0000000..898c242
--- /dev/null
+++ b/public/v4/logos/node-red.png
Binary files differ