48 lines
1.4 KiB
Bash
48 lines
1.4 KiB
Bash
# Required: bootstrap and core app settings.
|
|
# These values should be set before the container starts.
|
|
APP_NAME=Home Automation Backend (Python)
|
|
APP_ENV=production
|
|
APP_HOSTNAME=home-automation.example.com
|
|
APP_DATABASE_URL=sqlite:////app/data/app.db
|
|
AUTH_BOOTSTRAP_USERNAME=admin
|
|
AUTH_BOOTSTRAP_PASSWORD=change-me
|
|
|
|
# Optional: runtime overrides.
|
|
# Leave these commented out to use the application's built-in defaults.
|
|
# APP_DEBUG=
|
|
# AUTH_SESSION_COOKIE_NAME=
|
|
# AUTH_SESSION_TTL_HOURS=
|
|
# AUTH_COOKIE_SECURE_OVERRIDE=
|
|
|
|
# Optional: Home Assistant integration.
|
|
# Leave these empty when Home Assistant integration is not needed.
|
|
HOME_ASSISTANT_BASE_URL=
|
|
HOME_ASSISTANT_AUTH_TOKEN=
|
|
POO_WEBHOOK_ID=
|
|
POO_SENSOR_ENTITY_NAME=
|
|
POO_SENSOR_FRIENDLY_NAME=
|
|
|
|
# Optional: TickTick integration.
|
|
# APP_HOSTNAME is used to derive the OAuth callback URI automatically.
|
|
TICKTICK_CLIENT_ID=
|
|
TICKTICK_CLIENT_SECRET=
|
|
TICKTICK_TOKEN=
|
|
HOME_ASSISTANT_ACTION_TASK_PROJECT_ID=
|
|
|
|
# Optional: Modbus polling (global kill-switch; default true).
|
|
# MODBUS_POLLING_ENABLED=true
|
|
|
|
# Optional: MQTT broker connection.
|
|
# Leave MQTT_ENABLED=false (or unset) when MQTT is not needed.
|
|
MQTT_ENABLED=false
|
|
MQTT_BROKER_HOST=
|
|
MQTT_BROKER_PORT=1883
|
|
MQTT_USERNAME=
|
|
MQTT_PASSWORD=
|
|
MQTT_TLS_ENABLED=false
|
|
|
|
# Optional: Home Assistant MQTT Discovery.
|
|
# Requires MQTT_ENABLED=true and a running MQTT broker.
|
|
HA_DISCOVERY_ENABLED=false
|
|
HA_DISCOVERY_PREFIX=homeassistant
|