32 lines
688 B
Docker
32 lines
688 B
Docker
# https://gitlab.com/flwgns-docker/seafile-client/
|
|
|
|
|
|
FROM debian:buster-slim
|
|
|
|
#RUN ln -s /config /library \
|
|
# && ln -s /data/seafuser /home/seafuser
|
|
|
|
FROM flowgunso/seafile-client:latest
|
|
|
|
#RUN mkdir /library \
|
|
# && ln -s /config /library
|
|
ENV \
|
|
SEAF_SERVER_URL="${SERVER_URL}" \
|
|
SEAF_USERNAME="${USERNAME}" \
|
|
SEAF_PASSWORD="${PASSWORD}" \
|
|
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
|
|
|
|
|
|
|
|
|