Define Podman zigbee2mqtt/zwavejs2mqtt containers

This commit is contained in:
2023-03-29 11:03:15 -05:00
parent 38b0081012
commit d1db08966d
6 changed files with 45 additions and 0 deletions

View 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