Some checks failed
Lint & Test / test (push) Failing after 28s
Replace 22 individual JSON store files with a single SQLite database (data/ledgrab.db). All entity stores now use BaseSqliteStore backed by SQLite with WAL mode, write-through caching, and thread-safe access. - Add Database class with SQLite backup/restore API - Add BaseSqliteStore as drop-in replacement for BaseJsonStore - Convert all 16 entity stores to SQLite - Move global settings (MQTT, external URL, auto-backup) to SQLite settings table - Replace JSON backup/restore with SQLite snapshot backups (.db files) - Remove partial export/import feature (backend + frontend) - Update demo seed to write directly to SQLite - Add "Backup Now" button to settings UI - Remove StorageConfig file path fields (single database_file remains)
21 lines
376 B
YAML
21 lines
376 B
YAML
server:
|
|
host: "0.0.0.0"
|
|
port: 8080
|
|
log_level: "DEBUG"
|
|
cors_origins:
|
|
- "*"
|
|
|
|
auth:
|
|
# Test API key - DO NOT use in production!
|
|
api_keys:
|
|
test_client: "eb8a89cfd33ab067751fd0e38f74ddf7ac3d75ff012fbab35a616c45c12e0c8d"
|
|
|
|
storage:
|
|
database_file: "data/test_ledgrab.db"
|
|
|
|
logging:
|
|
format: "text"
|
|
file: "logs/wled_test.log"
|
|
max_size_mb: 10
|
|
backup_count: 2
|