From cb0543b27c94bc459f859c187017c610138cd524 Mon Sep 17 00:00:00 2001 From: Lancelot-Enguerrand Date: Mon, 9 Dec 2024 17:12:10 +0100 Subject: [PATCH] Add dynamic compose for homeassistant-1 --- apps/homeassistant-1/config.json | 5 +++-- apps/homeassistant-1/docker-compose.json | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 apps/homeassistant-1/docker-compose.json diff --git a/apps/homeassistant-1/config.json b/apps/homeassistant-1/config.json index 778bdada23..908b7740c1 100644 --- a/apps/homeassistant-1/config.json +++ b/apps/homeassistant-1/config.json @@ -4,8 +4,9 @@ "port": 8209, "available": true, "exposable": true, + "dynamic_config": true, "id": "homeassistant-1", - "tipi_version": 42, + "tipi_version": 43, "version": "2024.12.1", "categories": ["automation"], "description": "Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.", @@ -15,5 +16,5 @@ "form_fields": [], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1733519747000 + "updated_at": 1733760730698 } diff --git a/apps/homeassistant-1/docker-compose.json b/apps/homeassistant-1/docker-compose.json new file mode 100644 index 0000000000..2017241469 --- /dev/null +++ b/apps/homeassistant-1/docker-compose.json @@ -0,0 +1,24 @@ +{ + "services": [ + { + "name": "homeassistant-1", + "image": "ghcr.io/home-assistant/home-assistant:2024.12.1", + "isMain": true, + "internalPort": 8123, + "environment": { + "TZ": "${TZ}" + }, + "volumes": [ + { + "hostPath": "/etc/localtime", + "containerPath": "/etc/localtime", + "readOnly": true + }, + { + "hostPath": "${APP_DATA_DIR}/data/config", + "containerPath": "/config" + } + ] + } + ] +}