Add music to your stack

I love music and have a large collection of albums. Navidrome and iSub is may way of listen to them. A Docker container is an easy way to set it up. I have it on the same VM as my Reverse PM but I do not forward it to the web. #navidrome #isub

Add music to your stack
Photo by Simon Noh / Unsplash

I love music and have a large collection of albums - I'm an ex DJ.

I love to listen to music all day long and especially when I work - it helps to focus.

My collection is 5.000+ albums or 600 GiB all stored on my NAS. To scan it takes any app some time. To connect to the NAS you can use iSCSI or NFS, SMB is slow but can be used.

A Docker container is an easy way to set it up. I have it on the same VM as my Reverse PM but I do not forward it to the web. On the road I tend to use Spotify, it's my habit and not a technical solution.

As an app on my Apple devices I use iSUB, works also on the road.

Setting it all up

You need to adjust the code to reflect where your music is stored

### Navidrome Music App for iSub
---
version: "3"
services:
  navidrome:
    image: deluan/navidrome:latest
    container_name: navidrome
    user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info  
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
    volumes:
      - "/path/to/data:/data"
      - "/path/to/your/music/folder:/music:ro" #or :rw if needed

If you want to use nfs-shares you need to have nfs-common and nfs-utils installed.
Then you add the share you want to use

mkdir ~/NFSmusic
sudo mount -t nfs 192.168.1.4:/mnt/Tank/Data/Music ~/NFSmusic 

To add a share permanently: you add the directory to the VM's /etc/fstab

More details on adding shares: see this link