Initial commit
This commit is contained in:
commit
575a2aa55e
3 changed files with 26 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.env
|
||||
data/
|
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
Configuration for a local Navidrome setup
|
||||
===========================================
|
||||
|
||||
This repository contains a docker compose file for a local Navidrome setup. Variables used in the docker compose file need to be provided in an .env file.
|
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
version: "3"
|
||||
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_ENABLESHARING=true
|
||||
volumes:
|
||||
- "/home/reinhard/navidrome/data:/data"
|
||||
- "/mnt/raid/music/:/music:ro"
|
||||
|
Loading…
Reference in a new issue