Navidrome
Open source music collection server and streamer, like your personal Spotify
Alternative to: spotify, apple music, youtube music
Navidrome is an open source, self-hosted music collection server and streamer that lets you listen to your own music library from any browser or mobile device. It implements the Subsonic/OpenSubsonic API, so it works out of the box with a large ecosystem of existing Subsonic-compatible apps. Navidrome indexes your files without altering them and supports transcoding, playlists, smart playlists, and multi-user access.
Navidrome Docker Compose example
Self-host Navidrome on your own server, homelab, or VPS starting from this Docker Compose example.
It runs Navidrome in Docker containers using the official deluan/navidrome:latest image, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
navidrome:
image: deluan/navidrome:latest
restart: unless-stopped
environment:
# How often to rescan the music library (e.g. "1h", "30m", "@every 1h"). Empty disables scheduled scans.
ND_SCANSCHEDULE: "1h"
# Log verbosity: "error", "warn", "info", "debug", or "trace".
ND_LOGLEVEL: "info"
# How long a login session stays valid before requiring re-authentication.
ND_SESSIONTIMEOUT: "24h"
# Base URL path when serving behind a reverse proxy under a subpath (e.g. "/music"). Empty serves at root.
ND_BASEURL: ""
volumes:
- data:/data
- music:/music:ro
volumes:
data:
music: Prefer a managed setup? WinterFlow installs, configures, and updates Navidrome for you using this same Docker Compose configuration.