Skip to main content
Version: v2.33.0

Server Configuration

The server is configured via a TOML file. A minimal configuration looks like:

[server]
host = "0.0.0.0"
port = 7700
api_key = "your-secret-key"

[library]
content_paths = ["/music"]

[storage]
db_path = "/data/muorg.db"
backup_dir = "/data/muorg-backups"
backup_retention_count = 5

[cors]
allowed_origins = ["*"]

[transcoding]
bitrate = 320
format = "mp3"
sample_rate = 48000

Configuration Reference

[server]

KeyDefaultDescription
host"127.0.0.1"Bind address
port7700HTTP port
api_key"change-me"API key for Bearer auth

[library]

KeyDefaultDescription
content_paths[]Directories to scan for music
scan_on_startuptrueAuto-scan on server start

[transcoding]

KeyDefaultDescription
bitrate128Output bitrate in kbps (128/160/192/256/320)
format"mp3"Output format (currently only mp3)
sample_rate44100Output sample rate in Hz