Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Self-hosting

Stream your own music library with Navidrome

Self-host your music with Navidrome: install it with Docker, fix your tags, connect Subsonic apps on phone and desktop, and reach it safely from anywhere.

CloudSat teamNovember 18, 20266 min read
A vinyl record drawn as a glowing planet with rings, orbited by small phone and headphone shapes.
On this pageWhat Navidrome gives you

A streaming subscription gives you access to a catalog, not a collection. Albums leave the service when licenses expire, playlists break, prices rise and outages happen on someone else's schedule. If you already own music as files, from CDs you ripped, stores that sell DRM-free downloads or your own recordings, you can run a personal streaming service instead. Navidrome is the lightweight, open-source server most people pick for that job. This guide installs it, prepares the library, connects apps and makes it reachable from anywhere without exposing more than necessary.

What Navidrome gives you

Navidrome is a music server written in Go and released under the GPL-3.0 license. It indexes your files, serves a web player and speaks the Subsonic API, which means dozens of existing mobile and desktop apps can use it as their back end. Its main features:

  • Multiple users, each with their own favorites, ratings, playlists and play counts.
  • Multiple libraries with per-user access, added in version 0.58.
  • Smart playlists built from rules, such as "four or five stars, never played this year".
  • Scrobbling to Last.fm and ListenBrainz.
  • On-the-fly transcoding with FFmpeg, so a lossless library can stream at a lower bitrate over mobile data.
  • Low resource use: it runs comfortably on a small server or a single-board computer.

It does not include a music store, and it should not be fed from tools that rip streaming services: those break the services' terms and, often, copyright law. Navidrome is for music you own.

Prepare the library: tags matter more than folders

Navidrome builds its library from the tags inside each file, not from folder names. Clean tags are the difference between a tidy library and three versions of the same artist.

  • Artist and Album Artist: set Album Artist consistently, especially on compilations and albums with featured artists, or one album splits into several.
  • Track and disc numbers, so albums play in order.
  • Year and genre, which feed browsing and smart playlists.
  • Cover art: embedded in the files, or as a cover.jpg or folder.jpg in each album folder.

MusicBrainz Picard, a free tagger with a graphical interface, and beets, a command-line library manager, can both match files against the MusicBrainz database and fix tags in bulk. A folder layout such as Artist/Album (Year)/01 Title.flac is not required, but it keeps the files easy to manage. Navidrome reads the common formats, including FLAC, MP3, AAC, Ogg Vorbis and Opus.

Install with Docker

Create a folder for Navidrome's own data, then a compose.yaml like this one:

services:
  navidrome:
    image: navidrome/navidrome:latest
    user: 1000:1000
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      ND_LOGLEVEL: info
    volumes:
      - ./data:/data
      - /srv/music:/music:ro

The user line matters. The account it names must own the data folder and be able to read the music folder; find your IDs with id -u and id -g. Do not remove it to "fix" permissions, because the container would then run as root. Mounting the music read-only (:ro) guarantees the server never changes your files.

docker compose up -d
docker compose logs -f navidrome

Open http://your-server:4533. The first visit asks you to create the admin account, then the scanner indexes the library. A large collection takes a while on the first pass; later scans only look at what changed. Settings beyond the basics go into environment variables prefixed with ND_ or a navidrome.toml file in the data folder.

Get your music onto the server

If Navidrome runs on a rented server, copy the library from home with rsync, which resumes interrupted transfers and only sends changes on later runs:

rsync -avh --progress ~/Music/ admin@203.0.113.10:/srv/music/

Run the same command whenever you add albums. New files appear after the next scan.

Connect apps on every device

The web player works in any browser, but dedicated apps add offline caching, gapless playback and better lock-screen controls. Any client that supports the Subsonic API works; many also support OpenSubsonic, a set of extensions that Navidrome implements.

Platform Apps to try
Android Symfonium (paid), Tempo, Ultrasonic, DSub
iPhone and iPad Amperfy, play:Sub, Substreamer
Windows, macOS, Linux Feishin, Supersonic

In the app, enter the server address, your username and your password. For mobile data, set a maximum streaming bitrate in the app, and Navidrome transcodes to fit. Caching albums for offline listening saves data and battery on the move.

Reach it from anywhere, safely

Do not publish port 4533 directly. Two safer routes:

  • A VPN such as WireGuard: only your devices reach the server, and nothing faces the internet.
  • A reverse proxy with HTTPS, if family members should simply open an address. With Caddy, the configuration is short and the certificate is automatic:
music.example.com {
    reverse_proxy 127.0.0.1:4533
}

Then change the port mapping to 127.0.0.1:4533:4533 so the container only listens locally, and keep the firewall closed on 4533. Give every user a long, unique password. Public share links are off by default; leave them off unless you need them, and turn them on with ND_ENABLESHARING=true when you do.

Where to run it

Navidrome itself needs very little memory or CPU, so the deciding factor is storage. Lossless collections grow quickly, and you need room for the library plus Navidrome's database and artwork cache.

  • At home, on a small always-on computer, storage is cheap, but remote listening depends on your home upload speed.
  • On a rented server, upload bandwidth is plentiful and the service stays up when your home internet does not. On CloudSat, the Navidrome one-click app deploys the server for you, and storage-heavy plans start at $2.78/mo for larger libraries.

Back up the right things

The data folder holds the database with playlists, ratings, play counts and users. Back it up regularly, because rebuilding years of play history is impossible. The music library itself should exist in at least two places, for example your home computer and the server, so neither one is the only copy.

FAQ

Can Navidrome play my Spotify playlists?

Not directly, because it only plays files you have. If you own the tracks, export the playlist as a list of titles, rebuild it in Navidrome or place an .m3u playlist file in the library, which Navidrome can import.

Can family members have separate accounts?

Yes. Each user gets their own favorites, playlists and history, and since version 0.58 an admin can choose which libraries each user sees. A shared family library and a private one for your own experiments can live side by side.

Does it handle audiobooks and podcasts?

Navidrome is built for music. It will play audio files of any kind, but for audiobooks and podcasts a dedicated server such as Audiobookshelf tracks progress and chapters far better.

Is lossless streaming worth it on a phone?

At home on Wi-Fi, stream the original files. On mobile data, let Navidrome transcode to Opus or MP3 at a moderate bitrate: most people cannot tell the difference through phone headphones, and the data savings are large.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.