mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-14 12:28:09 +08:00
chore: add additional addon to test different settings
This commit is contained in:
16
hamh_test/Dockerfile
Normal file
16
hamh_test/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
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
|
||||||
2
hamh_test/build.yaml
Normal file
2
hamh_test/build.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
args:
|
||||||
|
package_version: "3.0.0-alpha.13"
|
||||||
25
hamh_test/config.yaml
Normal file
25
hamh_test/config.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
version: "3.0.0-alpha.13"
|
||||||
|
slug: hamh_test
|
||||||
|
name: Home-Assistant-Matter-Hub (Test Addon // DO NOT USE)
|
||||||
|
description: THIS IS FOR TESTING PURPOSE. DO NOT USE THIS ADDON.
|
||||||
|
url: https://github.com/t0bst4r/home-assistant-matter-hub
|
||||||
|
homeassistant: 2024.1.0
|
||||||
|
homeassistant_api: true
|
||||||
|
host_network: true
|
||||||
|
init: false
|
||||||
|
arch:
|
||||||
|
- aarch64
|
||||||
|
- amd64
|
||||||
|
- armv7
|
||||||
|
ingress: true
|
||||||
|
ingress_port: 8482
|
||||||
|
map:
|
||||||
|
- addon_config:rw
|
||||||
|
options:
|
||||||
|
log_level: info
|
||||||
|
disable_log_colors: false
|
||||||
|
mdns_network_interface: ""
|
||||||
|
schema:
|
||||||
|
log_level: list(silly|debug|info|warn|error)
|
||||||
|
disable_log_colors: bool
|
||||||
|
mdns_network_interface: "str?"
|
||||||
9
hamh_test/docker-entrypoint.sh
Normal file
9
hamh_test/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
home-assistant-matter-hub start \
|
||||||
|
--log-level=$(bashio::config 'log_level') \
|
||||||
|
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||||
|
--storage-location=/config/data \
|
||||||
|
--web-port=8482 \
|
||||||
|
--home-assistant-url='http://supervisor/core' \
|
||||||
|
--home-assistant-access-token="$SUPERVISOR_TOKEN"
|
||||||
Reference in New Issue
Block a user