From 2f4b6df80cc82800c95e0b3f580be1263badf6a3 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sat, 4 Oct 2025 18:01:55 +0200 Subject: [PATCH] Added Homeassistant stack --- Readme.md | 1 + stacks/homeassistant-stack.yaml | 15 +++++++++++++++ templates.json | 17 ++++++++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 stacks/homeassistant-stack.yaml diff --git a/Readme.md b/Readme.md index 7fb0713..28820c6 100644 --- a/Readme.md +++ b/Readme.md @@ -12,3 +12,4 @@ | Name | Description | |------|:-----------:| | Dawarich | Self-hosted alternative to Google Location History | +| Home Assistant | Open source home automation that puts local control and privacy first | \ No newline at end of file diff --git a/stacks/homeassistant-stack.yaml b/stacks/homeassistant-stack.yaml new file mode 100644 index 0000000..53575a2 --- /dev/null +++ b/stacks/homeassistant-stack.yaml @@ -0,0 +1,15 @@ +version: '3' + +services: + homeassistant: + container_name: homeassistant + image: "ghcr.io/home-assistant/home-assistant:stable" + volumes: + - /srv/HomeAssistant/data:/config + - /srv/HomeAssistant/.ssh:/root/.ssh + - /srv/HomeAssistant/.my.cnf:/root/.my.cnf:ro + - /etc/localtime:/etc/localtime:ro + - /run/dbus:/run/dbus:ro + restart: unless-stopped + privileged: true + network_mode: host \ No newline at end of file diff --git a/templates.json b/templates.json index 471d966..f854e3f 100644 --- a/templates.json +++ b/templates.json @@ -11,7 +11,7 @@ "logo": "https://dawarich.app/img/logo.svg", "repository": { "url": "https://git.bprieshof.nl/brammp/HomeServerCTs", - "stackfile": "stacks/dawarich-DockerCompose.yaml" + "stackfile": "stacks/dawarich-stack.yaml" }, "env": [ { @@ -69,6 +69,21 @@ } ], "maintainer": "https://git.bprieshof.nl/brammp" + }, + { + "id": 2, + "type": 3, + "title": "Home Assistant core", + "description": "Open source home automation that puts local control and privacy first.", + "categories": ["Applications"], + "platform": "linux", + "logo": "https://upload.wikimedia.org/wikipedia/commons/a/ab/New_Home_Assistant_logo.svg", + "repository": { + "url": "https://git.bprieshof.nl/brammp/HomeServerCTs", + "stackfile": "stacks/homeassistant-stack.yaml" + }, + "env": [], + "maintainer": "https://git.bprieshof.nl/brammp" } ] } \ No newline at end of file