mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
chore: add a docker-compose.override.yml file, to support local testing
This commit is contained in:
parent
9f086b5f7b
commit
18cbb153f3
4 changed files with 22 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,3 +19,4 @@ navidrome.db
|
||||||
*_gen.go
|
*_gen.go
|
||||||
dist
|
dist
|
||||||
music
|
music
|
||||||
|
docker-compose.override.yml
|
||||||
|
|
|
@ -80,7 +80,7 @@ services:
|
||||||
ND_PORT: 4533
|
ND_PORT: 4533
|
||||||
volumes:
|
volumes:
|
||||||
- "./data:/data"
|
- "./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`
|
To get the cutting-edge, latest version from master, use the image `deluan/navidrome:develop`
|
||||||
|
|
13
docker-compose.override.yml
Normal file
13
docker-compose.override.yml
Normal 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"
|
|
@ -3,14 +3,16 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
navidrome:
|
navidrome:
|
||||||
build: .
|
image: deluan/navidrome:latest
|
||||||
ports:
|
ports:
|
||||||
- "4533:4533"
|
- "4533:4533"
|
||||||
environment:
|
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_PORT: 4533
|
||||||
ND_SCANINTERVAL: 5s
|
|
||||||
ND_LOGLEVEL: debug
|
|
||||||
volumes:
|
volumes:
|
||||||
- "./data:/data"
|
- "./data:/data"
|
||||||
- "/Users/deluan/Music/iTunes/iTunes Media/Music:/music"
|
- "./music:/music"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue