node-red container

This commit is contained in:
do
2021-03-20 22:21:43 +01:00
parent 022f246f0e
commit 6fe22571f3

View File

@@ -5,8 +5,19 @@ pki:
- auto.chaos
- auto-conf.chaos
- pihole.chaos
- nodered.chaos
systemd:
service:
container-node-red:
Unit:
Description: Node Red
After: network-online.target local-fs.target
Before: haproxy.service
Service:
ExecStart: /usr/bin/podman start -a node-red
ExecStop: /usr/bin/podman stop node-red
Install:
WantedBy: multi-user.target
container-homeassistant:
Unit:
Description: Homeassistant
@@ -128,11 +139,13 @@ haproxy:
- host_auto-conf hdr_beg(host) -i auto-conf.
- host_z2m hdr_beg(host) -i zwave2mqtt.
- host_pihole hdr_beg(host) -i pihole.
- host_nodered hdr_beg(host) -i nodered.
use_backends:
- auto if host_auto
- auto-conf if host_auto-conf
- z2m if host_z2m
- pihole if host_pihole
- nodered if host_nodered
backends:
backend1:
name: auto
@@ -174,6 +187,13 @@ haproxy:
host: 127.0.0.1
port: 8080
check: check
backend5:
name: nodered
balance: roundrobin
servers:
server1:
name: auto02
host: 127.0.0.1
port: 1880
check: check