commit 575a2aa55ec430b64f8ea72dc03c924b311e536f Author: Ryan Harg Date: Tue Nov 7 10:43:41 2023 +0000 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24f9f8d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +data/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..83565ab --- /dev/null +++ b/README.md @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e1bf101 --- /dev/null +++ b/docker-compose.yml @@ -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" +