diff --git a/.gitignore b/.gitignore index a58e470..b5c8bae 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ !*/ # But not these files -!**/*.md +!**/README.md !.gitignore !**/compose.yml !**/Caddyfile diff --git a/homeassistant/.env.example b/homeassistant/.env.example new file mode 100644 index 0000000..e69de29 diff --git a/homeassistant/README.md b/homeassistant/README.md new file mode 100644 index 0000000..50f6237 --- /dev/null +++ b/homeassistant/README.md @@ -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 \ No newline at end of file diff --git a/homeassistant/compose.yml b/homeassistant/compose.yml new file mode 100644 index 0000000..ccbc57d --- /dev/null +++ b/homeassistant/compose.yml @@ -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 \ No newline at end of file