From bb308e2183fa2748eb52b3cec25d4e01edd0933a Mon Sep 17 00:00:00 2001 From: Lancelot-Enguerrand Date: Mon, 23 Dec 2024 00:01:29 +0100 Subject: [PATCH] Add dynamic compose for nodered --- apps/nodered/config.json | 5 +++-- apps/nodered/docker-compose.json | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 apps/nodered/docker-compose.json diff --git a/apps/nodered/config.json b/apps/nodered/config.json index cfcdebe5d1..6dd1c0dc33 100644 --- a/apps/nodered/config.json +++ b/apps/nodered/config.json @@ -4,8 +4,9 @@ "port": 8111, "available": true, "exposable": true, + "dynamic_config": true, "id": "nodered", - "tipi_version": 23, + "tipi_version": 24, "version": "4.0.8", "categories": ["automation"], "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.", @@ -15,5 +16,5 @@ "form_fields": [], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1734716035000 + "updated_at": 1734908489671 } diff --git a/apps/nodered/docker-compose.json b/apps/nodered/docker-compose.json new file mode 100644 index 0000000000..026d377b5e --- /dev/null +++ b/apps/nodered/docker-compose.json @@ -0,0 +1,16 @@ +{ + "services": [ + { + "name": "nodered", + "image": "nodered/node-red:4.0.8", + "isMain": true, + "internalPort": 1880, + "volumes": [ + { + "hostPath": "${APP_DATA_DIR}/data", + "containerPath": "/data" + } + ] + } + ] +}