1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-27 08:00:19 +00:00

Add example compose file to run Meet without Kopano (#217)

* Add example compose file to run Meet without Kopano
* add readme 
* add an example env file
* add setup.sh so user can easily create their own
* use kopano repo by default
This commit is contained in:
Felix Bartels
2019-09-06 13:19:13 +02:00
committed by GitHub
parent da43a5abbf
commit 8135321201
12 changed files with 383 additions and 133 deletions
+7 -5
View File
@@ -87,11 +87,13 @@ grapi)
# TODO there could be a case where multiple backends are desired
case $GRAPI_BACKEND in
ldap)
export LDAP_URI="${KCCONF_GRAPI_LDAP_URI}"
export LDAP_BASEDN="${KCCONF_GRAPI_LDAP_BASEDN}"
export LDAP_BINDDN="${KCCONF_GRAPI_LDAP_BINDDN}"
bindpw="$(cat "${KCCONF_GRAPI_LDAP_BINDPW_FILE}")"
export LDAP_BINDPW="${bindpw}"
[ -n "$KCCONF_GRAPI_LDAP_URI" ] && export LDAP_URI="${KCCONF_GRAPI_LDAP_URI}"
[ -n "$KCCONF_GRAPI_LDAP_BASEDN" ] && export LDAP_BASEDN="${KCCONF_GRAPI_LDAP_BASEDN}"
[ -n "$KCCONF_GRAPI_LDAP_BINDDN" ] && export LDAP_BINDDN="${KCCONF_GRAPI_LDAP_BINDDN}"
if [ -n "$KCCONF_GRAPI_LDAP_BINDPW_FILE" ]; then
bindpw="$(cat "${KCCONF_GRAPI_LDAP_BINDPW_FILE}")"
export LDAP_BINDPW="${bindpw}"
fi
;;
esac
# cleaning up env variables