Files
doctate/server/.env.example
T
Brummel 6bbbf10f77 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.
2026-04-27 11:21:23 +02:00

23 lines
595 B
Bash

# Doctate operator config — bootstrap, logging, auth, deploy topology.
# Admin-tunable values (retention, providers, prompts) live in settings.toml
# (see settings.toml.example for the template).
# Server bootstrap
SERVER_PORT=3000
DATA_PATH=/data
USERS_FILE=users.toml
# Logging
LOG_LEVEL=info
LOG_PATH=/var/log/recorder
LOG_MAX_DAYS=90
# Auth
SESSION_TIMEOUT_HOURS=8
# Set to false for plain-HTTP local dev; browsers refuse Secure cookies on http://
COOKIE_SECURE=true
# Optional filesystem resources (uncomment if used)
# VOCAB_DIR=./vocab
# HUNSPELL_DICT=/usr/share/hunspell/de_DE.dic