mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
22 lines
348 B
Plaintext
22 lines
348 B
Plaintext
[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
|
|
|