Skip to content

Environment variables

Most setup happens in the web UI. These environment variables matter for Docker deployments.

VariablePurpose
PUID / PGIDRun the container as the user that owns mounted folders
AURRAL_DATA_DIROverride app data directory (default /config)
DOWNLOAD_FOLDERPath inside /data for generated playlists (can also be set in UI)
PATH_MAPPINGSOptional path translations for mixed Windows/Docker setups, for example `N:/ServerFolders/Music
M3U_PATH_MODEPlaylist file path style: local (default, container paths in .m3u files) or remote (host paths for Navidrome outside Docker). Can also be set under Settings → Integrations → Navidrome → Use host paths in playlist files. Requires PATH_MAPPINGS (or equivalent UI mappings) for downloaded tracks; Lidarr-reused tracks use the original Lidarr path when available
TRUST_PROXYSet when Aurral is behind a reverse proxy
AUTH_PROXY_*Reverse-proxy authentication headers
AURRAL_VERBOSE_LOGSFuller server logs while troubleshooting

Example:

environment:
- PUID=1000
- PGID=1000
- DOWNLOAD_FOLDER=/music/Aurral
- PATH_MAPPINGS=N:/ServerFolders/Music|/music
- M3U_PATH_MODE=remote
- TRUST_PROXY=true