- Add '--skip-check' option to update.py to skip dotfiles update checks. - Update playbook.yml and symlinks.yml to use 'inventory_hostname' for host checks. - Refactor service task inclusions in server.yml for better readability and maintainability. - Add new Home Assistant service with corresponding docker-compose configuration. - Update various service YAML files to use dynamic paths based on inventory_hostname. - Add tags for service tasks to improve organization and execution control. - Remove obsolete services.yml file.
18 lines
464 B
Django/Jinja
18 lines
464 B
Django/Jinja
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
|
volumes:
|
|
- "/var/run/dbus:/run/dbus:ro"
|
|
- {{ homeassistant_data_dir }}:/config
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- TZ=Europe/Amsterdam
|
|
- PUID=1000
|
|
- PGID=1000
|
|
restart: unless-stopped
|
|
privileged: true
|
|
network_mode: host
|
|
devices:
|
|
- /dev/ttyUSB0:/dev/ttyUSB0
|