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
|
||||
Reference in New Issue
Block a user