# How to Self-Host Navidrome With Docker or One Click (2026)

> Navidrome Docker setup, step by step: server size, a Compose file with NGINX and SSL, the one-click way on xCloud, and backups and updates after install.

**Navidrome Docker** is the usual way to self-host Navidrome: you run the official container with two folders, one for its database and one for your music, then put a reverse proxy with HTTPS in front. You can write that setup yourself on any Ubuntu server, or let xCloud's one-click app run the same container for you.

The container is small and starts in seconds. The work is around it: a domain, a certificate, who creates the first admin, how music gets onto the server, and a backup you have restored at least once.

This guide covers both paths. First the **Docker Compose** way, step by step, then the one-click way on xCloud, with what each one leaves on your plate. If you also want movies and TV, our guide to [**self-hosting Jellyfin**](/self-host-jellyfin/) follows the same two paths.

![Who does each job when you self-host Navidrome: Docker Compose on your own vs one-click on xCloud](/_landing/blog/self-host-navidrome-image-1.png)

## TL;DR

- **Navidrome** is a free, open-source (GPL-3.0) music server with a web player, accounts for each listener and support for Subsonic apps on phone and desktop.
- **Upgrade first:** Navidrome **0.65.0** (29 November 2026) fixes ten security vulnerabilities. Run 0.65.0 or later; xCloud's one-click template installs 0.65.0.
- **Server size:** xCloud's template asks for 512 MB of RAM, 1 CPU core and 10 GB of disk. Plan the disk around your music collection.
- **Manual path:** Docker Compose with the official image, NGINX in front and a free Let's Encrypt certificate. Navidrome is reachable only through your domain over HTTPS, not by server IP and port.
- **One-click path:** pick **Navidrome** in xCloud's [**One Click Apps**](/one-click-apps/), choose a domain and a server, and xCloud creates the admin account for you, so nobody else can claim the server first.
- **Either way, you still own** your music, extra user accounts, upgrades and a copy of your files somewhere other than the server.

## What xCloud's One-Click Navidrome Actually Runs

We read xCloud's own Navidrome template (its Compose file, environment file and manifest) on 5 December 2026. Here is exactly what it installs:

| Part | What the template sets up |
|---|---|
| **Image** | `deluan/navidrome:0.65.0`, locked to one exact build (pinned by image digest), so it never changes on its own |
| **Port** | Container port **4533**, only reachable through your domain over HTTPS, not by server IP and port |
| **Volumes** | `navidrome_data` at `/data` (database and artwork cache) and `navidrome_music` at `/music` (your files) |
| **Database** | Navidrome's built-in SQLite, inside the same container; no separate database server |
| **First admin** | Created during the first start with the password from the install form, so the public "create the first admin" form is never shown |
| **Health check** | Calls Navidrome's `/ping` inside the container every 15 seconds; the container restarts automatically (`restart: always`) |
| **Minimum server** | 512 MB RAM, 1 CPU core, 10 GB disk, on an NGINX server with Docker |
| **Install form** | One field: **Admin Password**, generated (24 characters) if you leave it empty |

![What xCloud's one-click Navidrome runs: NGINX with HTTPS, the Navidrome container on port 4533 and two named volumes](/_landing/blog/self-host-navidrome-image-2.png)

The line that matters most is the first admin. A fresh Navidrome install shows a "create the first admin" form to **whoever opens the site first**. On a public domain, that can be a stranger. The template avoids it, and on the manual path you have to avoid it yourself, which Step 3 below covers.

The other line to watch is the version. The template installs 0.65.0, the release with the security fixes. Because the image is pinned, later releases do not arrive on their own; the [after-install section](#after-install-updates-backups-and-security) shows how to move up.

## What You Need to Self-Host Navidrome

Navidrome's install pages list no hardware minimum, so the floor below comes from xCloud's template manifest. The rest comes from Navidrome's [**Docker install page**](https://www.navidrome.org/docs/installation/docker/), which we checked again on 5 December 2026.

| Item | What you need |
|---|---|
| **RAM and CPU** | 512 MB RAM and 1 CPU core is the template floor. Converting music to a smaller format while it streams uses CPU; playing the original files does not |
| **Disk** | 10 GB for the app, plus your whole music collection, the artwork cache and room for backups |
| **Platform** | The official image runs on `linux/amd64`, `linux/arm/v6`, `linux/arm/v7` and `linux/arm64` |
| **Port** | 4533 for the web player and Subsonic API; 80 and 443 open for your reverse proxy |
| **User** | A normal user that owns the data folder and can read the music folder; Navidrome warns against running it as root |
| **Domain** | An A record pointing at your server, so apps can connect by name over HTTPS |

Rule of thumb: almost any small server runs Navidrome. Choose the server for its **disk**, and leave headroom if several people will stream converted music at once.

## Option 1: Self-Host Navidrome With Docker Compose

This path follows Navidrome's official Docker page on a fresh Ubuntu server. Check each step against that page for the version you install.

We built the Compose file and NGINX block below from Navidrome's official example and did not run them on a test server. Test them on your server before you rely on them.

### Step 1: Prepare the server and folders

Point an A record for your domain (for example `music.example.com`) at `SERVER_IP`. Install Docker using its official instructions for Ubuntu. Open only ports 22, 80 and 443 in your firewall; our [**VPS security guide**](/maximize-your-vps-security/) covers SSH keys and firewall basics.

Create the folders, owned by your normal user (here, user and group 1000):

```bash
sudo mkdir -p /opt/navidrome/data /opt/navidrome/backup /srv/music
sudo chown -R 1000:1000 /opt/navidrome /srv/music
```

### Step 2: Write the Compose file

Create `/opt/navidrome/docker-compose.yml`. It is based on Navidrome's official example, with these changes:

- A fixed version tag (`0.65.0`) instead of `latest`, so an image pull never upgrades you by surprise.
- The port bound to `127.0.0.1`, so only NGINX can reach Navidrome.
- Navidrome's built-in database backup turned on, writing to its own folder.

```yaml
services:
  navidrome:
    image: navidrome/navidrome:0.65.0
    container_name: navidrome
    user: 1000:1000
    ports:
      - "127.0.0.1:4533:4533"
    restart: unless-stopped
    environment:
      ND_LOGLEVEL: info
      ND_BACKUP_PATH: /backup
      ND_BACKUP_SCHEDULE: "0 3 * * *"
      ND_BACKUP_COUNT: 7
    volumes:
      - "/opt/navidrome/data:/data"
      - "/opt/navidrome/backup:/backup"
      - "/srv/music:/music:ro"
```

The `:ro` on the music folder comes from the official example: Navidrome can read your library but cannot change or delete it. The `user` line matters too. Navidrome's page says the image ignores `PUID` and `PGID`, and that removing `user` to fix a permission error is not a fix.

Navidrome 0.65.0 moved the official image to `navidrome/navidrome`; the older `deluan/navidrome` name still gets the same tags. Check Navidrome's GitHub releases page and pick the newest version you are happy to run.

### Step 3: Start it and create the admin before going public

Start it from `/opt/navidrome` with `docker compose up -d`. Do not set up NGINX yet. First, create the admin account privately through an SSH tunnel from your own computer:

```bash
ssh -L 4533:127.0.0.1:4533 YOUR_USER@SERVER_IP
```

Open `http://localhost:4533` in your browser, fill in the first-admin form with a long, unique password, and sign in. Now nobody who finds your domain later can claim the server.

### Step 4: Put NGINX and SSL in front

Install NGINX and Certbot, then create `/etc/nginx/sites-available/navidrome`:

```nginx
server {
    listen 80;
    server_name music.example.com;

    location / {
        proxy_pass http://127.0.0.1:4533;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_buffering off;
    }
}
```

Link it into `sites-enabled`, run `sudo nginx -t`, reload NGINX, then run `sudo certbot --nginx -d music.example.com`. Certbot switches the block to HTTPS and sets up renewal. Navidrome's security page recommends exactly this: a reverse proxy with SSL in front, and Navidrome itself not running as root.

### Step 5: Add music

Copy your albums into `/srv/music`, for example with `rsync` from your computer. Keep them as **Artist / Album / Track** with correct tags. Navidrome watches the folder and scans new files on its own; for a full scan straight away, use the activity panel in the web player.

## Option 2: One-Click Navidrome on xCloud

The one-click path gives you the stack from the first table without writing any of it. For every screen, see 👉 [**how to deploy Navidrome with xCloud One Click Apps**](/docs/deploy-navidrome-with-xcloud/). The general walkthrough for any template is 👉 [**how to use One-Click App templates in xCloud**](/docs/how-to-use-one-click-app-templates-in-xcloud/).

### Step 1: Pick Navidrome in the catalog

Go to **Sites → New Site**, type **Navidrome** in **Search apps…** and click the card named exactly **Navidrome**. The page shows **Runs on Nginx, Docker**, the version it installs and **Where should it run?** with your servers.

![The New Site app catalog searched for Navidrome, with the Navidrome card highlighted](/_landing/docs/deploy-navidrome-with-xcloud-image-1.png)

### Step 2: Choose a server

Pick an NGINX server, or **Deploy on a new server**, then click **Continue**. If Docker is not installed yet, xCloud installs it during the site setup, as described in [**enabling Docker on an NGINX server**](/docs/enable-docker-on-an-nginx-server-in-xcloud/). OpenLiteSpeed servers cannot run Docker apps, and a server below the minimum is not offered.

### Step 3: Fill in the form and click Next

Enter a **Site Title**, choose **Demo Site** to test on a temporary xCloud address or **Go Live** for your own domain, and leave **Admin Password** empty to get a generated one. Click **Next** and wait for the setup to finish.

### Step 4: Copy the login and add music

On **Site Overview**, the **Navidrome Credentials** card shows the **URL**, the **Username** (`admin`) and the **Password**. Sign in with them.

![The URL, Username and Password fields on the Navidrome Credentials card in Site Overview](/_landing/docs/deploy-navidrome-with-xcloud-image-4.png)

To add music, sign in over SSH as a [**sudo user**](/docs/usudo-users-and-site-users-in-xcloud/) and copy your files into the container's `/music` folder:

```bash
sudo docker cp ./Albums/. CONTAINER:/music/
```

The container name is on **Site Overview** under **Docker Container Health** and starts with `navidrome-`. A site user's SFTP upload does not reach `/music`, so use a sudo user.

## After Install: Updates, Backups and Security

These three jobs are the same on both paths, and they decide whether your music server still works next year.

### Updates

Start here, because of 0.65.0. Its [**release notes**](https://github.com/navidrome/navidrome/releases/tag/v0.65.0) say it fixes **ten security vulnerabilities** and ask everyone to upgrade as soon as they can. They also list breaking changes: Last.fm is no longer a default metadata source, and **Recently Added** now sorts by scan time. Read them before you jump.

On a manual install, back up first, change the tag in `docker-compose.yml`, then run `docker compose pull` and `docker compose up -d`.

On xCloud, the template locks Navidrome to one exact build, so **App Actions → Redeploy** pulls that same version again. When we have tested a newer version, it appears on **Site Overview** and the site's **App Updates** page, and you choose when to apply it. xCloud backs up your data first, puts the old version back if the new one does not start, and lets you undo the update for 7 days. 👉 [**How app updates work**](/update-one-click-apps-with-backup-and-undo/)

If you don't want to wait, take a backup and change the image line on the **Compose** page, as described in 👉 [**how to update a One-Click App and edit its Docker Compose**](/docs/update-a-one-click-app-and-edit-its-docker-compose-in-xcloud/). Keep the volume names exactly as they are. If you edit the Compose file yourself, App Updates stops offering one-click updates for this app.

### Backups

The folder to protect is **data**: users, playlists, play counts, favourites and the library index live there and nowhere else. The library index can be rebuilt from your files; the rest cannot.

Navidrome's [**backup page**](https://www.navidrome.org/docs/usage/admin/backup/) is clear on scope: its built-in backup saves **only the database**, not your music or your settings. Restoring wipes the current database and must run while Navidrome is stopped. Keep a copy of your music somewhere other than the server.

On xCloud, open the site and go to **Backup → Previous Backups** for **Backup Now**, or set a schedule and an off-server destination. A Docker app backup saves both named volumes with the Compose file and the `.env` file, so it includes your music and can be as large as your collection. 👉 See [**how to back up and restore Docker apps**](/docs/backup-and-restore-docker-apps/).

### Security

Keep Navidrome reachable only through NGINX on your domain, as both paths do. Use a long admin password, give each listener their own account under **Users** instead of sharing the admin, and remove accounts you no longer need. Navidrome limits repeated login attempts by default, which helps against password guessing.

On xCloud, the server itself gets [**automatic Ubuntu security updates**](/docs/how-automated-security-updates-and-auto-reboot-work-in-xcloud/). Navidrome's own version is still yours to move up.

## What the One-Click Template Does Not Do

Here is the honest list, read from the same template:

- **No automatic Navidrome upgrades.** The image is pinned to 0.65.0, so newer Navidrome releases reach your site only when you apply them.
- **No browser upload.** Music goes in over SSH with `docker cp` as a sudo user.
- **No host folder or NAS mount.** Your music lives in the `navidrome_music` volume, not in a folder you mount from elsewhere.
- **No email, single sign-on, or Last.fm and ListenBrainz links** set up for you; add those inside Navidrome if you want them.
- **It needs an NGINX server.** OpenLiteSpeed servers cannot run Docker apps.

Changing the admin password in xCloud's **Environment** page after the install does nothing, because Navidrome reads it only on the first start. Change it inside Navidrome. To undo the install, delete the site from xCloud; take a backup first if you want to keep your users and playlists.

## Docker Compose vs One-Click: Which to Choose

Navidrome itself is free either way. What differs is how much of the plumbing you own.

| | Docker Compose on your own | One-click on xCloud |
|---|---|---|
| **Navidrome cost** | Free (GPL-3.0) | Free (GPL-3.0) |
| **Setup work** | Docker, Compose file, NGINX, Certbot, firewall | Catalog, server, domain |
| **First admin** | You create it before going public | Created at install |
| **Version** | Any tag you choose, 0.65.0 today | Pinned to 0.65.0; updates from App Updates when offered |
| **Music on a NAS or host folder** | Possible, read-only | Not enabled |
| **Backups** | Built-in database backup plus your own file copies | Scheduled Docker app backups of both volumes |
| **Server security updates** | You | Automatic Ubuntu security updates |

**Choose Docker Compose if** your music already sits on a home server or NAS, you want the newest Navidrome the day it ships, or you enjoy owning every layer.

**Choose one-click if** you want a cloud server the household can reach from anywhere over HTTPS, an admin account nobody can grab first, and backups you schedule from a dashboard. Our guide to [**self-managed vs managed hosting**](/self-managed-vs-managed-hosting/) goes deeper on that trade-off.

## Get Your Own Music Server Running This Week

If you like owning every layer, the Compose file above is a solid start: pin 0.65.0 or newer, keep the port on localhost, create the admin before NGINX goes live, and test a database restore before you invite the family.

If you would rather skip the plumbing, deploy from [**xCloud Navidrome hosting**](/navidrome-hosting/) and spend that hour fixing your tags instead. Compare server sizes on the [**pricing page**](/pricing/) or browse other container apps on [**Docker hosting**](/docker-hosting/). For audiobooks and podcasts, our guide to [**self-hosting Audiobookshelf**](/self-host-audiobookshelf/) walks through the same two paths, and [**Airsonic-Advanced**](/airsonic-advanced-hosting/) is another Subsonic-compatible server in the same catalog.

If you have found this blog helpful, feel free to [**subscribe to our blogs**](https://xcloud.host/blog/) for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our [**Facebook community**](https://www.facebook.com/groups/xcloud.community) to share insights and engage in discussions.

## Frequently Asked Questions

### Is Docker the best way to run Navidrome?

On a Linux server, it is the most common way. Navidrome publishes an official image and documents Docker Compose on its own install page. Docker keeps the database and your music in separate folders, which makes backups, upgrades and moving servers simpler.

### Which port does Navidrome use in Docker?

Port 4533 serves the web player and the Subsonic API. On a public server, keep it reachable only from the server itself and let a reverse proxy such as NGINX serve visitors on ports 80 and 443 with HTTPS.

### How much RAM does Navidrome need?

Very little. xCloud's Navidrome template asks for at least 512 MB of RAM, 1 CPU core and 10 GB of disk. Disk is what runs out first, because it has to hold your whole music collection, and converting music while it streams uses CPU.

### Which Navidrome version should I run?

Navidrome 0.65.0, released on 29 November 2026, fixes ten security vulnerabilities, and the project asks everyone to upgrade as soon as they can. xCloud's one-click template installs 0.65.0. On a manual install, take a backup and move up to 0.65.0 or later.

### How do I add music to Navidrome on xCloud?

Navidrome has no upload button. Sign in to the server over SSH as a sudo user and copy your music into the /music folder of the Navidrome container with sudo docker cp. Navidrome finds and scans the new files by itself.

### Does Navidrome back up my music?

No. Navidrome's built-in backup saves only its database: users, playlists and play counts. Keep your music files somewhere else too. On xCloud, a Docker app backup saves both volumes, music included, so size the backup destination for your collection.
