mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
feat: add homeassistant and esphome, pi server done
This commit is contained in:
21
homeassistant/esphome.container
Normal file
21
homeassistant/esphome.container
Normal file
@@ -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
|
||||||
|
|
||||||
22
homeassistant/homeassistant.container
Normal file
22
homeassistant/homeassistant.container
Normal file
@@ -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
|
||||||
|
|
||||||
6
homeassistant/homeassistant.pod
Normal file
6
homeassistant/homeassistant.pod
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=HomeAssistant Pod
|
||||||
|
|
||||||
|
[Pod]
|
||||||
|
PodName=homeassistant
|
||||||
|
Network=host
|
||||||
Reference in New Issue
Block a user