1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00: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

@ -5,4 +5,13 @@ navidrome
streamer. It gives you freedom to listen to your music collection from any streamer. It gives you freedom to listen to your music collection from any
browser or mobile device. It's like your personal Spotify! 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 [1]: https://github.com/navidrome/navidrome

@ -3,15 +3,16 @@ version: "3.8"
services: services:
navidrome: navidrome:
image: deluan/navidrome image: deluan/navidrome:develop
ports: ports:
- "4533:4533" - "4533:4533"
volumes: volumes:
- ./data:/data - ./data:/data
- /path/to/your/music/folder:/music:ro - ./music:/music:ro
environment: environment:
- ND_SCANINTERVAL=1h - ND_SCANINTERVAL=1h
- ND_SESSIONTIMEOUT=24h - ND_SESSIONTIMEOUT=24h
- ND_LOGLEVEL=info - ND_LOGLEVEL=info
- ND_BASEURL= - ND_BASEURL=
user: "1000:1000"
restart: unless-stopped restart: unless-stopped