瀏覽代碼

Add in Node-Red Arm64 support. (#165)

Robert Middleswarth 3 年之前
父節點
當前提交
d5790d936f
共有 2 個文件被更改,包括 35 次插入3 次删除
  1. 2 2
      template/portainer-v2-arm32.json
  2. 33 1
      template/portainer-v2-arm64.json

+ 2 - 2
template/portainer-v2-arm32.json

@@ -2842,7 +2842,7 @@
 					"name": "TZ"
 				}
 			],
-			"logo": "https://raw.githubusercontent.com/rmiddle/pi-hosted/master/images/node-red.png",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/node-red.png",
 			"name": "node-red",
 			"platform": "linux",
 			"ports": [
@@ -2853,7 +2853,7 @@
 			"type": 3,
 			"repository": {
 				"stackfile": "stack/node-red.yml",
-				"url": "https://github.com/rmiddle/pi-hosted/"
+				"url": "https://github.com/novaspirit/pi-hosted/"
 			}
 		},
 		{

+ 33 - 1
template/portainer-v2-arm64.json

@@ -2823,7 +2823,39 @@
 				"url": "https://github.com/novaspirit/pi-hosted"
 			}
 		},		
-
+		{
+			"categories": [
+                "Other",
+				"Web",
+				"Tools"
+			],
+			"description": "Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.  It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.",
+			"env": [
+				{
+					"default": "your_secret_goes_here",
+					"label": "NODE_RED_CREDENTIAL_SECRET",
+					"name": "NODE_RED_CREDENTIAL_SECRET"
+				},
+				{
+					"default": "America/New_York",
+					"label": "TZ",
+					"name": "TZ"
+				}
+			],
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/node-red.png",
+			"name": "node-red",
+			"platform": "linux",
+			"ports": [
+				"1880:1880/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Node Red",
+			"type": 3,
+			"repository": {
+				"stackfile": "stack/node-red.yml",
+				"url": "https://github.com/novaspirit/pi-hosted/"
+			}
+		},
 		{
 			"categories": [
 				"Downloaders"