Navidrome: Sovereign Music Server (Docker Compose)

Googled777 avatar   
Googled777
Navidrome is a lightweight, self‑hosted music server with a clean web UI and Subsonic-compatible API. This guide shows how to deploy it using Docker Compose in a fully sovereign, reproducible way.

..

Navidrome: Sovereign Music Server (Docker Compose)

Navidrome is a lightweight, self‑hosted music server with a clean web UI and Subsonic-compatible API. This guide shows how to deploy it using Docker Compose in a fully sovereign, reproducible way.

1. Create Directories

sudo mkdir -p /opt/navidrome/config
sudo mkdir -p /srv/music

/srv/music contains your audio library. /opt/navidrome/config stores the database, cache, and settings.

2. Create docker-compose.yml

services:
  navidrome:
    image: deluan/navidrome:latest
    container_name: navidrome
    user: "1000:1000"
    ports:
      - "4533:4533"
    volumes:
      - /srv/music:/music:ro
      - /opt/navidrome/config:/data
    environment:
      ND_LOGLEVEL: info
      ND_SCANINTERVAL: 1h
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
      ND_CONFIGFILE: /data/navidrome.toml
    restart: unless-stopped

3. Optional: Create navidrome.toml

MusicFolder = "/music"
DataFolder  = "/data"
ScanInterval = "1h"
LogLevel = "info"

4. Start Navidrome

cd /opt/navidrome
sudo docker compose up -d

5. Access the Web UI

Navidrome will be available at:

http://SERVER_IP:4533

The first login creates your admin account. For domain routing, point your HAProxy frontend to 4533.

0 commentaires

Aucun commentaire trouvé