02cd9d519c
Lint & Test / test (push) Successful in 1m56s
- Rename Python package: wled_controller -> ledgrab - Rename env var prefix: WLED_ -> LEDGRAB_ (with auto-migration for old vars) - Rename localStorage key: wled_api_key -> ledgrab_api_key (with migration) - Rename HA integration domain: wled_screen_controller -> ledgrab - Update all imports, build scripts, Docker, installer, config, docs - Remove HA integration (moved to ledgrab-haos-integration repo) - Remove hacs.json (belongs in HA repo now) - Add startup warning for users with old WLED_ env vars - All tests pass (715/715), ruff clean, tsc clean, frontend builds
32 lines
639 B
YAML
32 lines
639 B
YAML
# Demo mode configuration
|
|
# Loaded automatically when LEDGRAB_DEMO=true is set.
|
|
# Uses isolated data directory (data/demo/) and a pre-configured API key
|
|
# so the demo works out of the box with zero setup.
|
|
|
|
demo: true
|
|
|
|
server:
|
|
host: "0.0.0.0"
|
|
port: 8081
|
|
log_level: "INFO"
|
|
# CORS: restrict to localhost by default.
|
|
# For LAN access, add your machine's IP, e.g. "http://192.168.1.100:8081"
|
|
cors_origins:
|
|
- "http://localhost:8081"
|
|
|
|
auth:
|
|
api_keys:
|
|
demo: "demo"
|
|
|
|
storage:
|
|
database_file: "data/ledgrab.db"
|
|
|
|
mqtt:
|
|
enabled: false
|
|
|
|
logging:
|
|
format: "text"
|
|
file: "logs/ledgrab.log"
|
|
max_size_mb: 100
|
|
backup_count: 5
|