diff --git a/.gitignore b/.gitignore index 30ecc293f..baa2c0ac5 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ navidrome.db *_gen.go dist music +docker-compose.override.yml diff --git a/README.md b/README.md index 59488821d..0bc73b78e 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 000000000..eeeab07e4 --- /dev/null +++ b/docker-compose.override.yml @@ -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" diff --git a/docker-compose.yml b/docker-compose.yml index 95326d48b..aa6ecde67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"