diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 1c3fce1..83fb777 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -3,8 +3,8 @@ FROM debian:buster-slim -RUN ln -s /config /library \ - && ln -s /data/seafuser /home/seafuser +#RUN ln -s /config /library \ +# && ln -s /data/seafuser /home/seafuser FROM flowgunso/seafile-client:latest @@ -17,6 +17,13 @@ ENV \ SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \ SEAF_SKIP_SSL_CERT="${SKIP_SSL_CERT}" +# MOFIFY DATA PATH +RUN sed -i "s|library|config|g" /etc/services.d/seafile/run + +RUN sed -i "s|/home/seafuser|/data/seafuser|g" /etc/services.d/seafile/run + +VOLUME [ "/data" ] +VOLUME [ "/config" ] #RUN mkdir /config #RUN mkdir /library