Adrian Jagielak 8a3f7e72bb
Add demo mode
2025-07-23 20:25:01 +02:00

21 lines
737 B
Plaintext
Executable File

#!/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 DEMO_MODE=$(bashio::config 'demo_mode')
export MQTT_HOST=$(bashio::services mqtt "host")
export MQTT_PORT=$(bashio::services mqtt "port")
export MQTT_USER=$(bashio::services mqtt "username")
export MQTT_PWD=$(bashio::services mqtt "password")
export LOG_LEVEL=${LOG_LEVEL:-info}
/usr/bin/node /usr/src/app/dist/index.js