feat(hamh): use pre-built docker image

This commit is contained in:
Tobias Glatthar
2025-02-14 10:59:44 +01:00
parent 5200b2a8be
commit 1f7440ddb9
4 changed files with 1 additions and 29 deletions

View File

@@ -1,16 +0,0 @@
FROM ghcr.io/hassio-addons/base-nodejs:0.2.5
ENV SUPERVISOR_TOKEN ""
VOLUME /config
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ARG package_version
LABEL \
io.hass.version="$package_version" \
io.hass.type="addon" \
io.hass.arch="armhf|aarch64|i386|amd64"
RUN npm install -g home-assistant-matter-hub@$package_version
CMD /docker-entrypoint.sh

View File

@@ -1,2 +0,0 @@
args:
package_version: "3.0.0-alpha.69"

View File

@@ -1,4 +1,5 @@
version: "3.0.0-alpha.69" version: "3.0.0-alpha.69"
image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon
slug: hamh slug: hamh
name: Home-Assistant-Matter-Hub name: Home-Assistant-Matter-Hub
description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home. description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.

View File

@@ -1,11 +0,0 @@
#!/usr/bin/with-contenv bashio
home-assistant-matter-hub start \
--log-level=$(bashio::config 'app_log_level') \
--disable-log-colors=$(bashio::config 'disable_log_colors') \
--mdns-network-interface="$(bashio::config 'mdns_network_interface')" \
--storage-location=/config/data \
--web-port=$(bashio::addon.ingress_port) \
--home-assistant-url='http://supervisor/core' \
--home-assistant-access-token="$SUPERVISOR_TOKEN" \
--http-ip-whitelist="172.30.32.2"