From 8796530ba50320cf35e1737b1a66a6a1f8413532 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sat, 5 Sep 2020 11:39:12 +0200 Subject: [PATCH] sync content with seafile --- .env.default | 3 ++- raneto/docker-compose.raneto.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.env.default b/.env.default index fab23e9..f5ef90e 100644 --- a/.env.default +++ b/.env.default @@ -33,4 +33,5 @@ GUID=1000 SEAFILE_ADMIN_PASSWORD=abc123456 SEAFILE_REGULAR_USER=johndoe SEAFILE_REGULAR_PASSWORD=johnpassword -SEAFILE_PHOTO_LIBRARY=12345678 \ No newline at end of file +SEAFILE_PHOTO_LIBRARY=12345678 +SEAFILE_NOTES_LIBRARY=12345678 \ No newline at end of file diff --git a/raneto/docker-compose.raneto.yml b/raneto/docker-compose.raneto.yml index d32d952..c28f9c3 100644 --- a/raneto/docker-compose.raneto.yml +++ b/raneto/docker-compose.raneto.yml @@ -1,6 +1,23 @@ version: '3' services: + + seafcli-notes: + image: snegov/seafile-client + container_name: seafcli-notes + restart: unless-stopped + environment: + - LIBRARY_ID=${SEAFILE_NOTES_LIBRARY} + - SERVER_HOST=${HOST_SEAFILE}.${DOMAIN} + - SERVER_PORT=443 + - USERNAME=${SEAFILE_REGULAR_USER} + - PASSWORD=${SEAFILE_REGULAR_PASSWORD} + - DATA_DIR=/library + networks: + - srv + volumes: + - ${ROOT_INSTALL}/data/raneto/content:/library + raneto: image: linuxserver/raneto container_name: raneto