1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update navidrome

This commit is contained in:
kev 2021-04-01 16:05:02 +08:00
parent c6e3ddc730
commit 0b32c65067
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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