add playlists directory to docker volumes
Add the `/playlists` directory to the list of volumes, so the server doesn't exit when validating the playlist path on startup.
This commit is contained in:
@@ -31,7 +31,7 @@ COPY --from=builder \
|
|||||||
COPY --from=builder \
|
COPY --from=builder \
|
||||||
/src/gonic \
|
/src/gonic \
|
||||||
/bin/
|
/bin/
|
||||||
VOLUME ["/cache", "/data", "/music", "/podcasts"]
|
VOLUME ["/cache", "/data", "/music", "/playlists", "/podcasts"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV TZ ""
|
ENV TZ ""
|
||||||
ENV GONIC_DB_PATH /data/gonic.db
|
ENV GONIC_DB_PATH /data/gonic.db
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ COPY --from=builder \
|
|||||||
COPY --from=builder \
|
COPY --from=builder \
|
||||||
/src/gonic \
|
/src/gonic \
|
||||||
/bin/
|
/bin/
|
||||||
VOLUME ["/cache", "/data", "/music", "/podcasts"]
|
VOLUME ["/cache", "/data", "/music", "/playlists", "/podcasts"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV GONIC_DB_PATH /data/gonic.db
|
ENV GONIC_DB_PATH /data/gonic.db
|
||||||
ENV GONIC_LISTEN_ADDR :80
|
ENV GONIC_LISTEN_ADDR :80
|
||||||
|
|||||||
Reference in New Issue
Block a user