From a2302186885e6c907f6b82d1a598b648ad43bc14 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sun, 24 Jan 2021 00:34:48 +0100 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 94c27ad..7a55802 100644 --- a/README.md +++ b/README.md @@ -210,3 +210,27 @@ Networks: ``` docker stack deploy -c docker-compose.yml seafile ``` +## Additional Information + +### LDAP + +In order for LDAP to work, the *seafile-server* needs to be able to establish a connection to the LDAP server. Because the `seafile-net` is defined as `internal: true`, the service won't reach the LDAP server, as long as you don't deploy it in to the same stack and also connect it to `seafile-net`. As a workaround define another network in the `networks` top-level element. Like this: +``` +networks: + seafile-net: + internal: true + ext: +``` +If not defined otherwise, the network will automatically have external access. +Then hook up *seafile-server* to this network: +``` +seafile-server: + ... + networks: + - seafile-net + - ext +``` + +### OAuth + +For OAuth the same network problem as with LDAP will occur, but here you will need to hook up the *seahub* service to the external network.