init home assistant integration

This commit is contained in:
Mika Bomm 2024-07-27 23:23:30 +02:00
parent fd46d7841f
commit 26c1057ac4
4 changed files with 21 additions and 1 deletions

2
.gitignore vendored
View file

@ -6,7 +6,7 @@
!*/
# But not these files
!**/*.md
!**/README.md
!.gitignore
!**/compose.yml
!**/Caddyfile

View file

9
homeassistant/README.md Normal file
View file

@ -0,0 +1,9 @@
I also added HACS via this command inside of the docker:
```bash
docker exec -it homeassistant bash
```
Then executed
```bash
wget -O - https://get.hacs.xyz | bash -
```
To install HACS into the Homeassistant installation. Of course restart the docker container afterwards

11
homeassistant/compose.yml Normal file
View file

@ -0,0 +1,11 @@
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /opt/stacks/homeassistant/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host