Configuration¶
cast2md is configured through environment variables and a web UI settings page.
Configuration Sources¶
Settings are loaded in this order (later sources override earlier ones):
- Default values -- built into the application
.envfile -- in the project root directory~/.cast2md/.env-- user-level configuration- Environment variables -- system environment
- Database -- settings changed via web UI
Note
Environment variables always take precedence over database-stored settings. If a setting is set in .env, changing it in the web UI has no effect.
Quick Setup¶
Copy the example configuration and edit it:
The minimum required setting for Docker deployments:
For manual installations, you also need:
Configuration Pages¶
| Page | Description |
|---|---|
| Environment Variables | Complete reference for all env vars |
| Whisper Models | Model comparison table and selection guide |
Web UI Settings¶
The Settings page (/settings) provides a web interface for commonly changed settings:
- Transcription -- Whisper model, device, compute type
- Downloads -- concurrent downloads, timeouts
- Distributed Transcription -- enable/disable, node management
- RunPod -- GPU worker configuration
- Notifications -- ntfy integration