diff --git a/homeassistant/esphome.container b/homeassistant/esphome.container new file mode 100644 index 0000000..574bf86 --- /dev/null +++ b/homeassistant/esphome.container @@ -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 + diff --git a/homeassistant/homeassistant.container b/homeassistant/homeassistant.container new file mode 100644 index 0000000..6178b4a --- /dev/null +++ b/homeassistant/homeassistant.container @@ -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 + diff --git a/homeassistant/homeassistant.pod b/homeassistant/homeassistant.pod new file mode 100644 index 0000000..4cce2d1 --- /dev/null +++ b/homeassistant/homeassistant.pod @@ -0,0 +1,6 @@ +[Unit] +Description=HomeAssistant Pod + +[Pod] +PodName=homeassistant +Network=host