navidrome-deployment/docker-compose.yml

21 lines
647 B
YAML

services:
navidrome:
image: deluan/navidrome:latest
user: 1000:1000 # should be owner of volumes
ports:
- "4533:4533"
restart: unless-stopped
environment:
- ND_SCANSCHEDULDE=${SCAN_SCHEDULE}
- ND_LOGLEVEL=${LOG_LEVEL}
- ND_SESSIONTIMEOUT=${SESSION_TIMEOUT}
- ND_SPOTIFY_ID=${SPOTIFY_CLIENT_ID}
- ND_SPOTIFY_SECRET=${SPOTIFY_SECRET}
- ND_LASTFM_LANGUAGE=${LASTFM_LANGUAGE}
- ND_LASTFM_APIKEY=${LASTFM_APIKEY}
- ND_LASTFM_SECRET=${LASTFM_SECRET}
- ND_ENABLESHARING=true
volumes:
- "/home/reinhard/navidrome/data:/data"
- "/mnt/raid/music/:/music:ro"