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:
Gregor Zurowski
2023-05-07 18:29:49 +02:00
committed by GitHub
parent 7dc9575e52
commit aae0683671
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ COPY --from=builder \
COPY --from=builder \
/src/gonic \
/bin/
VOLUME ["/cache", "/data", "/music", "/podcasts"]
VOLUME ["/cache", "/data", "/music", "/playlists", "/podcasts"]
EXPOSE 80
ENV TZ ""
ENV GONIC_DB_PATH /data/gonic.db

View File

@@ -27,7 +27,7 @@ COPY --from=builder \
COPY --from=builder \
/src/gonic \
/bin/
VOLUME ["/cache", "/data", "/music", "/podcasts"]
VOLUME ["/cache", "/data", "/music", "/playlists", "/podcasts"]
EXPOSE 80
ENV GONIC_DB_PATH /data/gonic.db
ENV GONIC_LISTEN_ADDR :80