diff --git a/home-assistant/.gitignore b/home-assistant/.gitignore new file mode 100644 index 0000000..f733c4b --- /dev/null +++ b/home-assistant/.gitignore @@ -0,0 +1 @@ +config/ diff --git a/home-assistant/docker-compose.yml b/home-assistant/docker-compose.yml new file mode 100644 index 0000000..ad922c7 --- /dev/null +++ b/home-assistant/docker-compose.yml @@ -0,0 +1,11 @@ +services: + homeassistant: + container_name: homeassistant + image: "ghcr.io/home-assistant/home-assistant:stable" + volumes: + - ./config:/config + - /etc/localtime:/etc/localtime:ro + - /run/dbus:/run/dbus:ro + restart: unless-stopped + privileged: true + network_mode: host