All options and default values in Dockerfile and docker-compose.yml example

This commit is contained in:
Deluan 2020-01-24 10:27:49 -05:00
parent 461b7424e9
commit 79abddd8f2
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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"