Last active
April 26, 2026 15:00
-
-
Save parkan/a729c8ee0928a8793d129f1ae3031eb8 to your computer and use it in GitHub Desktop.
Home Assistant on TrueNAS Scale (custom-compose, host network, sqlite, HACS auto-install)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| home-assistant: | |
| image: ghcr.io/home-assistant/home-assistant:stable | |
| container_name: home-assistant | |
| restart: unless-stopped | |
| network_mode: host | |
| privileged: true | |
| environment: | |
| - TZ=Etc/UTC | |
| volumes: | |
| - /mnt/.ix-apps/app_mounts/home-assistant/config:/config | |
| - /mnt/.ix-apps/app_mounts/home-assistant/media:/media | |
| - /run/dbus:/run/dbus:ro | |
| entrypoint: | |
| - /bin/bash | |
| - -c | |
| - | | |
| if [ ! -d /config/custom_components/hacs ]; then | |
| wget -q -O - https://get.hacs.xyz | bash - | |
| fi | |
| exec /init | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://127.0.0.1:8123/"] | |
| interval: 30s | |
| timeout: 5s | |
| retries: 5 | |
| start_period: 60s | |
| x-portals: | |
| - host: 0.0.0.0 | |
| name: Web UI | |
| path: / | |
| port: 8123 | |
| scheme: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment