init home assistant integration
This commit is contained in:
parent
fd46d7841f
commit
26c1057ac4
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,7 +6,7 @@
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
# But not these files
|
# But not these files
|
||||||
!**/*.md
|
!**/README.md
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!**/compose.yml
|
!**/compose.yml
|
||||||
!**/Caddyfile
|
!**/Caddyfile
|
||||||
|
|
0
homeassistant/.env.example
Normal file
0
homeassistant/.env.example
Normal file
9
homeassistant/README.md
Normal file
9
homeassistant/README.md
Normal 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
11
homeassistant/compose.yml
Normal 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
|
Loading…
Reference in a new issue