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.chaos
- auto-conf.chaos - auto-conf.chaos
- pihole.chaos - pihole.chaos
- nodered.chaos
systemd: systemd:
service: 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: container-homeassistant:
Unit: Unit:
Description: Homeassistant Description: Homeassistant
@@ -128,11 +139,13 @@ haproxy:
- host_auto-conf hdr_beg(host) -i auto-conf. - host_auto-conf hdr_beg(host) -i auto-conf.
- host_z2m hdr_beg(host) -i zwave2mqtt. - host_z2m hdr_beg(host) -i zwave2mqtt.
- host_pihole hdr_beg(host) -i pihole. - host_pihole hdr_beg(host) -i pihole.
- host_nodered hdr_beg(host) -i nodered.
use_backends: use_backends:
- auto if host_auto - auto if host_auto
- auto-conf if host_auto-conf - auto-conf if host_auto-conf
- z2m if host_z2m - z2m if host_z2m
- pihole if host_pihole - pihole if host_pihole
- nodered if host_nodered
backends: backends:
backend1: backend1:
name: auto name: auto
@@ -174,6 +187,13 @@ haproxy:
host: 127.0.0.1 host: 127.0.0.1
port: 8080 port: 8080
check: check check: check
backend5:
name: nodered
balance: roundrobin
servers:
server1:
name: auto02
host: 127.0.0.1
port: 1880
check: check