mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2026-06-17 15:28:28 +05:30
feat: add homeassistant and esphome, pi server done
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=ESPHome Container
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Pod=homeassistant.pod
|
||||||
|
ContainerName=esphome
|
||||||
|
Image=docker.io/esphome/esphome
|
||||||
|
|
||||||
|
# Enable auto-update container
|
||||||
|
AutoUpdate=registry
|
||||||
|
|
||||||
|
Volume=%h/podman/homeassistant/esphome:/config
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=300
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=HomeAssistant Container
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Pod=homeassistant.pod
|
||||||
|
ContainerName=homeassistant
|
||||||
|
Image=ghcr.io/home-assistant/home-assistant:stable
|
||||||
|
|
||||||
|
# Enable auto-update container
|
||||||
|
AutoUpdate=registry
|
||||||
|
|
||||||
|
Volume=%h/podman/homeassistant/config:/config
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
Volume=/run/dbus:/run/dbus:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=300
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=HomeAssistant Pod
|
||||||
|
|
||||||
|
[Pod]
|
||||||
|
PodName=homeassistant
|
||||||
|
Network=host
|
||||||
Reference in New Issue
Block a user