From 575a2aa55ec430b64f8ea72dc03c924b311e536f Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Tue, 7 Nov 2023 10:43:41 +0000 Subject: [PATCH] Initial commit --- .gitignore | 2 ++ README.md | 4 ++++ docker-compose.yml | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml 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" +