From eeb01f7a9c223bcf2cacb6ab4e0e04e71864d2df Mon Sep 17 00:00:00 2001 From: coolnsx Date: Wed, 26 Mar 2025 20:48:22 +0530 Subject: [PATCH] feat: add homeassistant and esphome, pi server done --- homeassistant/esphome.container | 21 +++++++++++++++++++++ homeassistant/homeassistant.container | 22 ++++++++++++++++++++++ homeassistant/homeassistant.pod | 6 ++++++ 3 files changed, 49 insertions(+) create mode 100644 homeassistant/esphome.container create mode 100644 homeassistant/homeassistant.container create mode 100644 homeassistant/homeassistant.pod 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