From 0b32c65067bc2ed9aeb5604fa213cd5e150e8c55 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 1 Apr 2021 16:05:02 +0800 Subject: [PATCH] update navidrome --- navidrome/README.md | 9 +++++++++ navidrome/docker-compose.yml | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/navidrome/README.md b/navidrome/README.md index 5847e17..d95e616 100644 --- a/navidrome/README.md +++ b/navidrome/README.md @@ -5,4 +5,13 @@ navidrome streamer. It gives you freedom to listen to your music collection from any browser or mobile device. It's like your personal Spotify! +## up and running + +```bash +$ mkdir -p data music +$ chown -R 1000:1000 data music +$ docker-compose up -d +$ curl http://127.0.0.1:4533 +``` + [1]: https://github.com/navidrome/navidrome diff --git a/navidrome/docker-compose.yml b/navidrome/docker-compose.yml index ec7ee12..8246ac6 100644 --- a/navidrome/docker-compose.yml +++ b/navidrome/docker-compose.yml @@ -3,15 +3,16 @@ version: "3.8" services: navidrome: - image: deluan/navidrome + image: deluan/navidrome:develop ports: - "4533:4533" volumes: - ./data:/data - - /path/to/your/music/folder:/music:ro + - ./music:/music:ro environment: - ND_SCANINTERVAL=1h - ND_SESSIONTIMEOUT=24h - ND_LOGLEVEL=info - ND_BASEURL= + user: "1000:1000" restart: unless-stopped