From aae06836715f4159ac5cacf83ae5c2d5e3e4f52f Mon Sep 17 00:00:00 2001 From: Gregor Zurowski Date: Sun, 7 May 2023 18:29:49 +0200 Subject: [PATCH] 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. --- Dockerfile | 2 +- Dockerfile.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index feb9c9d..d9a17cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.dev b/Dockerfile.dev index b75e0a3..7543775 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -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