diff --git a/Dockerfile b/Dockerfile index c28c0477e..3b3cbbb35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,9 +44,11 @@ COPY --from=gobuilder /src/navidrome /app/ COPY --from=gobuilder /tmp/ffmpeg*/ffmpeg /usr/bin/ VOLUME ["/data", "/music"] -ENV ND_DBPATH /data/navidrome.db ENV ND_MUSICFOLDER /music +ENV ND_DBPATH /data/navidrome.db +ENV ND_SCANINTERVAL 1m ENV ND_LOGLEVEL info +ENV ND_PORT 4533 EXPOSE 4533 WORKDIR /app diff --git a/README.md b/README.md index d8fcdeac9..cec6f2507 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,10 @@ services: environment: # All options with their default values: ND_MUSICFOLDER: /music + ND_DBPATH: /data/navidrome.db + ND_SCANINTERVAL: 1m + ND_LOGLEVEL: info ND_PORT: 4533 - ND_SCANINTERVAL: 10s - ND_LOGLEVEL: debug volumes: - "./data:/data" - "/Users/deluan/Music/iTunes/iTunes Media/Music:/music"