From dcceb61730b3a657b61b09507d438a9e9725ce4a Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 6 Jan 2020 22:51:50 +0100 Subject: [PATCH] Change the synchronized path to /library for consistency --- docker-compose.yml | 2 +- seafile-client/Dockerfile | 2 +- seafile-client/seafile-entrypoint.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4d7c73a..8e8344d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: image: flowgunso/seafile-client:latest restart: on-failure volumes: - - your_shared_volume:/volume + - your_shared_volume:/library environment: SEAF_SERVER_URL: "" # The URL to your Seafile server. SEAF_USERNAME: "" # Your Seafile username. diff --git a/seafile-client/Dockerfile b/seafile-client/Dockerfile index 168be51..1a696b7 100644 --- a/seafile-client/Dockerfile +++ b/seafile-client/Dockerfile @@ -51,7 +51,7 @@ RUN apt-get update && apt-get install -y gnupg && \ /var/cache/debconf/*.dat-old \ /var/lib/apt/lists/* \ /import-seafile-apt-key.sh && \ - mkdir /volume/ && \ + mkdir /library/ && \ groupadd -g $GID -o $UNAME && \ useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME && \ mkdir /home/$UNAME/.seafile && \ diff --git a/seafile-client/seafile-entrypoint.sh b/seafile-client/seafile-entrypoint.sh index e46f152..e9a8b3d 100644 --- a/seafile-client/seafile-entrypoint.sh +++ b/seafile-client/seafile-entrypoint.sh @@ -34,7 +34,7 @@ while [ ! -S $seafile_sock ]; do sleep 1; done [[ "$SEAF_DOWNLOAD_LIMIT" ]] && seaf-cli config -k download_limit -v $SEAF_DOWNLOAD_LIMIT # Build the seaf-cli sync command. -cmd="seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume" +cmd="seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /library" [[ "$SEAF_2FA_SECRET" ]] && cmd+=" -a $(oathtool --base32 --totp $SEAF_2FA_SECRET)" [[ "$SEAF_LIBRARY_PASSWORD" ]] && cmd+=" -e $SEAF_LIBRARY_PASSWORD"