English
Get started

← All templates · Media

Deploy Navidrome in one click

A music server that streams your own collection

A self-hosted alternative to Spotify.

What is Navidrome?

Navidrome is an open-source music server, a personal Spotify for the files you already own. It reads the tags you have curated, handles compilations and multi-disc box sets, and streams nearly any audio format to its web player or to Subsonic apps on phones and desktops. It can transcode as you play, Opus included, so listening on mobile data does not use up your plan. Each listener gets an account with their own playlists, favourites and play counts, and plays can be scrobbled to Last.fm or ListenBrainz.

People self-host Navidrome to reach their whole collection from anywhere, with no subscription. It is light enough for a Raspberry Pi and still copes with very large libraries. The catch: it browses by tags, not folders, so a badly tagged collection looks messy. Fix the tags first with MusicBrainz Picard or beets, because Navidrome never writes to your files.

Hosting Navidrome on Pethost

  1. You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
  2. New project opens at Navidrome, and you click Create project.
  3. In a minute or two Navidrome is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
  4. It is a project like any other: you or your agent can change it, roll it back or restore it.

Questions about Navidrome

Is Navidrome free and open source?

Yes. Navidrome is free and open source under the GPL-3.0 licence, and its code is on GitHub at navidrome/navidrome.

Can Navidrome replace Spotify?

Only for music you own. Navidrome has no catalogue of its own: it streams the files in your library, which you buy, rip or download yourself.

What apps work with Navidrome on iPhone and Android?

Any app that speaks the Subsonic or OpenSubsonic API. Navidrome's site lists Amperfy and play:Sub for iPhone, Symfonium, Tempo and DSub for Android, and Supersonic for the desktop.

Does Navidrome support folder browsing?

No. Navidrome organises music only by its tags, and apps that ask for folders get ones built from the tags, such as Album Artist/Album. The project has chosen not to add a real folder mode.

How do I upload music to Navidrome?

Copy the files into its music folder over SFTP, a network share or a file manager such as FileBrowser. Navidrome has no upload button, by design, and picks up new files by itself.

How much memory and disk does Navidrome need?

Navidrome is very light: under 100 MB of memory; the disk is your music, and a few hundred MP3 albums fit. On Pethost the Starter plan is enough for it, with room for other apps beside it.

Navidrome Docker Compose file

The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.

Containers: navidrome (deluan/navidrome:0.64.2).

Volumes, in the nightly backup: data, music.

services:
  navidrome:
    image: deluan/navidrome:0.64.2
    restart: unless-stopped
    environment:
      # Encrypts the stored passwords with this project's own key, not the one in Navidrome's
      # source. It can never change after the first start: the passwords would stop working.
      ND_PASSWORDENCRYPTIONKEY: ${PASSWORD_ENCRYPTION_KEY}
    volumes:
      - data:/data
      # Writable, so that music can be copied in over SFTP.
      - music:/music

volumes:
  data:
  music:

More in Media