From 25c7d911d8944a6e0328578395b6d80fdce7f373 Mon Sep 17 00:00:00 2001 From: kyzhangs <100138954+kyzhangs@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:56:46 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(apps):=20add=20node-red=20app?= =?UTF-8?q?=20(#2623)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node-red/README.md | 3 +++ node-red/data.yml | 19 +++++++++++++++++++ node-red/latest/data.yml | 10 ++++++++++ node-red/latest/docker-compose.yml | 19 +++++++++++++++++++ node-red/logo.png | Bin 0 -> 1523 bytes 5 files changed, 51 insertions(+) create mode 100644 node-red/README.md create mode 100644 node-red/data.yml create mode 100644 node-red/latest/data.yml create mode 100644 node-red/latest/docker-compose.yml create mode 100755 node-red/logo.png diff --git a/node-red/README.md b/node-red/README.md new file mode 100644 index 000000000..338351bdd --- /dev/null +++ b/node-red/README.md @@ -0,0 +1,3 @@ +# Node-RED + +**Node-RED** Node-RED 是一种编程工具,用于以新颖有趣的方式将硬件设备、API 和在线服务连接在一起。 \ No newline at end of file diff --git a/node-red/data.yml b/node-red/data.yml new file mode 100644 index 000000000..621b758af --- /dev/null +++ b/node-red/data.yml @@ -0,0 +1,19 @@ +name: Node-RED +tags: + - 实用工具 +title: Node-RED 编程工具 +description: Node-RED 是一个基于流的编程工具 +additionalProperties: + key: node-red + name: Node-RED + tags: + - Tool + shortDescZh: Node-RED 是一个基于流的编程工具 + shortDescEn: Node-RED is a flow-based programming tool + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://nodered.org/ + github: https://github.com/node-red/node-red + document: https://nodered.org/docs/ diff --git a/node-red/latest/data.yml b/node-red/latest/data.yml new file mode 100644 index 000000000..6443f8092 --- /dev/null +++ b/node-red/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: "21880" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/node-red/latest/docker-compose.yml b/node-red/latest/docker-compose.yml new file mode 100644 index 000000000..5b5115a7e --- /dev/null +++ b/node-red/latest/docker-compose.yml @@ -0,0 +1,19 @@ +networks: + 1panel-network: + external: true +services: + node-red: + image: nodered/node-red:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + user: root + ports: + - ${PANEL_APP_PORT_HTTP}:1880 + environment: + - TZ=Asia/Shanghai + volumes: + - ./data:/data + labels: + createdBy: "Apps" diff --git a/node-red/logo.png b/node-red/logo.png new file mode 100755 index 0000000000000000000000000000000000000000..363fea982a64b02ed6bb437c25402e4abd8d8e39 GIT binary patch literal 1523 zcmZ{ic{mh!7{`BuoUz%>RqQC_8XCqO8o9|36DrDWE27-gHX%A#=QtZeW!=ZP77fuj z%9shcjhoy}4CCJE+2`5k*=Kj3=Y8Mr^M2pw^L+n#pIV`edAUz;0|0nUO$@A=iu~T3 ztjvk4eYDIJaaR*-3jjjT0Dy@EV25d8z5oya2Vl_&0If6tgnVDrU(yBuvTSt`Z5Ri@ zzbi*hju;yHDK)hxJ^e#eRI$E(0vlUvP|*I)&f($VL|t8mh{!-*-rDeR5;u3bxp~*K zXJeI>P2S#(9v+RJo|EcQHr?FZpPRcnH1rA%A1yEc5FK4< zX_+A`yf!kjKq76-&(kI*3beJ;1qG|^>`1Y(Qv^aX56>KtScOK@#>aDEutFW399h}* znHee`Pq=-%!QFkAPOo=$jb~*gczLb#_wTH)_hx2hOG>8j^EdnYzD6J_P^dHkft`(w zW*?t=7njb+Nc^QsE1y3vbagFscQ@U+vq&aqoH$W%?p)24E3JWn8?&<`#lpD;#HJ}AY zH99WNsWa0o`Y3QihA7q>v!jsb)cX+YBk~hyE>W6UuBo(@?@adWI|#otVA! z7~2M^B+th(p6DUNR%ZH=ZNfRnRoI0Euk{{WL+m@wSj3=bxzip`#@?J>K^iK*_UqMz zXa|j6DRUgrsNo7)TVSy^O$u90by~N_S@%U`h14${r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