home-assistant
Containers
homeassistant
homeassistant.yml
Primary docker compose file for homeassistant
version: "3.9"
services:
# https://www.home-assistant.io/installation/alternative/#docker-compose
homeassistant:
extends:
file: ../../common-services.yml
service: base
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant
hostname: homeassistant
volumes:
- ./data/home-assistant/config:/config
- /etc/localtime:/etc/localtime:ro
privileged: true
network_mode: host
labels:
- homepage.group=Other
- homepage.name=Home Assistant
- homepage.icon=home-assistant.png
- homepage.href=$HOMEASSISTANT_HOMEPAGE_URL
- homepage.ping=$HOMEASSISTANT_HOMEPAGE_PING
- homepage.description=$HOMEASSISTANT_HOMEPAGE_DESCRIPTION
- homepage.hideErrors=true
- homepage.showStats=true
homeassistant.env
Primary environment file for homeassistant
HOMEASSISTANT_HOMEPAGE_DESCRIPTION=Open source home automation that puts local control and privacy first.
HOMEASSISTANT_HOMEPAGE_URL=http://${NETWORK_HOST}:${HOMEASSISTANT_HTTP_PORT}
HOMEASSISTANT_HOMEPAGE_PING=http://${NETWORK_HOST}:${HOMEASSISTANT_HTTP_PORT}