16 lines
460 B
YAML
16 lines
460 B
YAML
services:
|
|
<< service_name >>:
|
|
container_name: << container_name >>
|
|
image: ghcr.io/home-assistant/home-assistant:2026.4.4
|
|
network_mode: host
|
|
environment:
|
|
- TZ=<< container_timezone >>
|
|
volumes:
|
|
- ./config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
# devices:
|
|
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
|
privileged: true
|
|
restart: << restart_policy >>
|