Prepare cache volume in Docker image

This commit is contained in:
Serge Tkatchouk
2020-02-13 23:05:23 +08:00
committed by sentriz
parent a5ab437dd6
commit 7c9c3e4ff1

View File

@@ -23,9 +23,10 @@ COPY --from=builder \
/src/gonic \
/src/gonicscan \
/bin/
VOLUME ["/data", "/music"]
VOLUME ["/data", "/music", "/cache"]
EXPOSE 80
ENV GONIC_DB_PATH /data/gonic.db
ENV GONIC_LISTEN_ADDR :80
ENV GONIC_MUSIC_PATH /music
ENV GONIC_CACHE_PATH /cache
CMD ["gonic"]