chore: add a docker-compose.override.yml file, to support local testing

This commit is contained in:
Deluan 2020-02-06 12:12:10 -05:00
parent 9f086b5f7b
commit 18cbb153f3
4 changed files with 22 additions and 6 deletions

1
.gitignore vendored
View file

@ -19,3 +19,4 @@ navidrome.db
*_gen.go
dist
music
docker-compose.override.yml

View file

@ -80,7 +80,7 @@ services:
ND_PORT: 4533
volumes:
- "./data:/data"
- "/Users/deluan/Music/iTunes/iTunes Media/Music:/music"
- "/path/to/your/music/folder:/music"
```
To get the cutting-edge, latest version from master, use the image `deluan/navidrome:develop`

View file

@ -0,0 +1,13 @@
# This is just an example. Customize it to your needs.
version: "3"
services:
navidrome:
build: .
environment:
# See all options and defaults in conf/configuration.go
ND_SCANINTERVAL: 5s
ND_LOGLEVEL: debug
volumes:
- "./data:/data"
- "/Users/deluan/Music/iTunes/iTunes Media/Music:/music"

View file

@ -3,14 +3,16 @@
version: "3"
services:
navidrome:
build: .
image: deluan/navidrome:latest
ports:
- "4533:4533"
environment:
# See all options and defaults in conf/configuration.go
# All options with their default values:
ND_MUSICFOLDER: /music
ND_DATAFOLDER: /data
ND_SCANINTERVAL: 1m
ND_LOGLEVEL: info
ND_PORT: 4533
ND_SCANINTERVAL: 5s
ND_LOGLEVEL: debug
volumes:
- "./data:/data"
- "/Users/deluan/Music/iTunes/iTunes Media/Music:/music"
- "./music:/music"