mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-21 00:48:08 +08:00
feat(hamh): use pre-built docker image
This commit is contained in:
@@ -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
|
||||
@@ -1,2 +0,0 @@
|
||||
args:
|
||||
package_version: "3.0.0-alpha.69"
|
||||
@@ -1,4 +1,5 @@
|
||||
version: "3.0.0-alpha.69"
|
||||
image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon
|
||||
slug: hamh
|
||||
name: Home-Assistant-Matter-Hub
|
||||
description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user