.env.example 1.1 KB

1234567891011121314151617181920212223242526
  1. # BambuTrack Environment Configuration
  2. # Copy this file to .env and adjust values as needed
  3. # Debug mode (true = DEBUG logging, false = production with INFO logging)
  4. DEBUG=true
  5. # Log level (only used when DEBUG=false)
  6. # Options: DEBUG, INFO, WARNING, ERROR
  7. LOG_LEVEL=INFO
  8. # Enable file logging (logs written to logs/bambutrack.log)
  9. LOG_TO_FILE=true
  10. # Home Assistant Integration (for HA Add-on deployments)
  11. # When both HA_URL and HA_TOKEN are set, Home Assistant integration is automatically enabled
  12. # and these values override any database settings (read-only in UI)
  13. # HA_URL=http://supervisor/core
  14. # HA_TOKEN=your-long-lived-access-token
  15. # Trusted iframe origins (#1191) — comma-separated list of scheme://host[:port]
  16. # origins permitted to embed Bambuddy via <iframe>. Defaults to empty (strict:
  17. # only same-origin embedding allowed). Set this to your Home Assistant origin
  18. # when using the HA Webpage dashboard panel, since HA on port 8123 and Bambuddy
  19. # on port 8000 are different origins to the browser. Wildcards, paths, and
  20. # non-http(s) schemes are rejected at startup with a warning.
  21. # TRUSTED_FRAME_ORIGINS=http://homeassistant.local:8123