nodered: the sidecar dials the port it was given

The sidecar runs on the host network and dialled 127.0.0.1:1880, the
software's port; the mesh publishes nodered on a machine port it assigns,
so the tools reached whatever else holds 1880, or nothing (hq 088).
This commit is contained in:
2026-09-29 23:50:11 +02:00
parent 0c91e08bad
commit c1a65e2354
+1 -1
View File
@@ -100,7 +100,7 @@
], ],
"env": { "env": {
"MESH_BROKER_FILE": "/run/secrets/broker", "MESH_BROKER_FILE": "/run/secrets/broker",
"MESH_NODERED_URL": "http://127.0.0.1:1880", "MESH_NODERED_URL": "http://127.0.0.1:${port:1880}",
"MESH_NODERED_CONFIG_FILE": "/run/config/config.json" "MESH_NODERED_CONFIG_FILE": "/run/config/config.json"
}, },
"restart-on": [ "restart-on": [