feat(server): split runtime knobs out of .env into settings.toml

.env shrinks to bootstrap values only (port, paths, log, auth, deploy
flags). The 14 admin-tunable values (retention, whisper, ollama, llm)
move to a new settings.toml with serde(default)-based per-section
defaults and an empty-prompt fallback to the code default. settings.toml
is gitignored alongside .env; settings.toml.example is the template.

This commit fixes the file layout. The server-side wiring (Config shrink,
AppState integration, consumer migration) follows separately.
This commit is contained in:
2026-04-27 11:21:23 +02:00
parent 0205301018
commit 6bbbf10f77
4 changed files with 298 additions and 33 deletions
+1
View File
@@ -1,6 +1,7 @@
target/
.env
users.toml
settings.toml
*.snap.new
repomix-output.xml
tmpdata/