Define Podman zigbee2mqtt/zwavejs2mqtt containers
This commit is contained in:
19
yellow/overlay/etc/containers/systemd/zigbee2mqtt.container
Normal file
19
yellow/overlay/etc/containers/systemd/zigbee2mqtt.container
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/koenkk/zigbee2mqtt:latest
|
||||
Network=host
|
||||
Volume=/var/lib/zigbee2mqtt:/app/data:Z
|
||||
User=302
|
||||
Group=302
|
||||
ReadOnly=true
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=5min
|
||||
ProtectSystem=full
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
19
yellow/overlay/etc/containers/systemd/zwavejs2mqtt.container
Normal file
19
yellow/overlay/etc/containers/systemd/zwavejs2mqtt.container
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/zwavejs/zwavejs2mqtt:latest
|
||||
Network=host
|
||||
Volume=/var/lib/zwavejs:/usr/src/app/store:Z
|
||||
User=303
|
||||
Group=303
|
||||
ReadOnly=true
|
||||
|
||||
[Service]
|
||||
TimeoutStartSec=5min
|
||||
ProtectSystem=full
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
2
yellow/overlay/etc/sysusers.d/zigbee2mqtt.conf
Normal file
2
yellow/overlay/etc/sysusers.d/zigbee2mqtt.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
u zigbee2mqtt 302 Zigbee2MQTT /var/lib/zigbee2mqtt /sbin/nologin
|
||||
g zigbee2mqtt 302
|
||||
3
yellow/overlay/etc/sysusers.d/zwavejs2mqtt.conf
Normal file
3
yellow/overlay/etc/sysusers.d/zwavejs2mqtt.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
u zwavejs 303 ZWaveJS /var/lib/zwavejs /sbin/nologin
|
||||
g zwavejs 303
|
||||
|
||||
1
yellow/overlay/etc/tmpfiles.d/zigbee2mqtt.conf
Normal file
1
yellow/overlay/etc/tmpfiles.d/zigbee2mqtt.conf
Normal file
@@ -0,0 +1 @@
|
||||
d /var/lib/zigbee2mqtt 0700 zigbee2mqtt zigbee2mqtt - -
|
||||
1
yellow/overlay/etc/tmpfiles.d/zwavejs.conf
Normal file
1
yellow/overlay/etc/tmpfiles.d/zwavejs.conf
Normal file
@@ -0,0 +1 @@
|
||||
d /var/lib/zwavejs 0700 zwavejs zwavejs - -
|
||||
Reference in New Issue
Block a user