Add initial version of the add-on code

This commit is contained in:
Adrian Jagielak
2025-07-21 22:28:31 +02:00
parent bcfa60a749
commit 1c43d8a3ec
25 changed files with 3159 additions and 68 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# s6-overlay docs: https://github.com/just-containers/s6-overlay
# ==============================================================================
set -e
export FH_HUB_IP=$(bashio::config 'hub_ip')
export FH_USERNAME=$(bashio::config 'username')
export FH_PASSWORD=$(bashio::config 'password')
export LOG_LEVEL=${LOG_LEVEL:-info}
/usr/bin/node /usr/src/app/dist/index.js