Skip to content

Instantly share code, notes, and snippets.

@EliasMasche
Last active August 19, 2024 01:12
Show Gist options
  • Save EliasMasche/ebc8bf8c10e4d56961d6980a41376862 to your computer and use it in GitHub Desktop.
Save EliasMasche/ebc8bf8c10e4d56961d6980a41376862 to your computer and use it in GitHub Desktop.
Navidrome Docker compose with dockge, it requires that you create and assign permissions properly for docker/navidrome to use the the volumes
version: "3.8"
services:
navidrome:
image: deluan/navidrome:latest
user: 1000:1000 # should be owner of volumes
ports:
- 4533:4533
restart: unless-stopped
environment:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: ""
volumes:
- /var/navidrome/data:/data
- /var/navidrome/music:/music:ro
networks:
- dockge_default
networks:
dockge_default:
external: true
@EliasMasche
Copy link
Author

You can use sudo chown -R 1000:1000 /var/navidrome/data and sudo chown -R 1000:1000 /var/navidrome/music to give permissions in case there is an error of permission or use a different route folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment