From 2b216a28d908b1dbda32d5944e619d2e3a39305f Mon Sep 17 00:00:00 2001 From: Tai Date: Mon, 3 Aug 2020 16:56:18 -0700 Subject: [PATCH] Update seafile --- README.md | 9 +++++++++ seafile/README.md | 16 +++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9975558..f7bb1a0 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,13 @@ Credits to DoTheEvo. For without his tutorials I would have not gotten here. https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/caddy_v2 +### Docker and docker-compose required. +To do install them follow Step 1 to Step 2 for both links below. + +https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 +https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04 + + #### Seafile + +https://github.com/StarWhiz/docker_deployment_notes/tree/master/seafile \ No newline at end of file diff --git a/seafile/README.md b/seafile/README.md index e2748ca..b44ea7f 100644 --- a/seafile/README.md +++ b/seafile/README.md @@ -9,21 +9,31 @@ ``` # Caddyfile +``` subdomain.example.com { reverse_proxy seafile:80 } +``` + +# Things to Modify + +## .env +set your environment variables -# Other things to do ## seahub_settings.py nano /home/~/docker/seafile/seafile-data/seafile/conf/seahub_settings.py Change FILE_SERVER_ROOT to be https instead of http. Example Below: -```FILE_SERVER_ROOT = "https://subdomain.example.com/seafhttp"``` +``` +FILE_SERVER_ROOT = "https://subdomain.example.com/seafhttp" +``` ## ccnet.conf nano /home/~/docker/seafile/seafile-data/seafile/conf/ccnet.conf Change SERVICE_URL from http to https and remove the :8000 at the end. Example Below: -```SERVICE_URL https://subdomain.example.com``` \ No newline at end of file +``` +SERVICE_URL https://subdomain.example.com +``` \ No newline at end of file