---
title: "Deploy Navidrome on Pethost in one click"
description: "A music server that streams your own collection. A template for Pethost: in a minute or two the app is live on your machine, with HTTPS at its own address and nightly backups."
---

[← All templates](https://pethost.dev/templates/)

# Deploy Navidrome on Pethost in one click

A music server that streams your own collection

[Deploy on Pethost](https://console.pethost.dev/?template=navidrome)

## What happens

1. You sign in to Pethost or make an account, with a passkey, GitHub or Google.
2. No machine yet? You pick a plan, and we prepare one for you. The link waits in your browser until it is ready.
3. New project opens at the app, and you click Create project.
4. In a minute or two the app is live at its own address with HTTPS. Its secrets are made for it at random, and its data is in the nightly backup.
5. It is a project like any other: its compose.yaml, its .env, its logs and a terminal are in the panel, and your agent can change it, roll it back or restore it.

## First steps

Open the address and create the admin account on the first page. Do it right away: until then the page is open to whoever has the address. Music goes into /music in the navidrome service: upload files in its Files tab or copy folders over SFTP, and Navidrome finds them by itself. Subsonic apps on a phone connect to https://navidrome.sam.pethost.app.

## What it runs

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

```
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:
```

[compose.yaml](https://pethost.dev/templates/navidrome/compose.yaml)[See it on GitHub](https://github.com/pethost-dev/templates/tree/main/navidrome)

Pethost · Stephan Gomer · NIP 1133096755

[Templates](https://pethost.dev/templates/) [About](https://pethost.dev/about/) [Blog](https://pethost.dev/blog/) [Terms](https://pethost.dev/terms/) [Privacy](https://pethost.dev/privacy/) [Refunds](https://pethost.dev/refunds/) [API](https://pethost.dev/docs/api/) [CLI](https://pethost.dev/docs/cli/) [Plugin](https://github.com/pethost-dev/plugin) [support@pethost.dev](mailto:support@pethost.dev)
