1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-07-26 04:21:34 +02:00
Files
wiki/wiki/docker/homeassistant_-_home-assistant.md

1.4 KiB
Raw Blame History

homeassistant home-assistant

This is a Docker container for a Home Assistant server. The official container and documentation was made by homeassistant.

Setup

Create the file rebuild.sh. Change the settings according to your needs and run ./rebuild.sh afterward.

Volumes

Set the following volumes with the -v tag.

Outside mount/volume name Container mount Description
homeassistant_data /config configuration for devices, etc

Environment-variables

Set the following environment-variables in the environment: section of the docker-compose file.

Name Usage Default
TZ specify the timezone

Additional

The container needs acces to the host network. This will at the same time expose port 8123 as web interface.

rebuild.sh

docker run --name homeassistant \
  --restart=unless-stopped \
  --privileged \
  --network=host \
  -e TZ=Europe/Berlin \
  -v homeassistant_data:/config \
  -d ghcr.io/home-assistant/home-assistant:stable