1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +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
+5 -1
View File
@@ -17,7 +17,11 @@ ENV \
KOPANO_CORE_VERSION=$KOPANO_CORE_VERSION \
KOPANO_REPOSITORY_FLAGS=$KOPANO_REPOSITORY_FLAGS \
RELEASE_KEY_DOWNLOAD=$RELEASE_KEY_DOWNLOAD \
GRAPI_BACKEND="kopano"
GRAPI_BACKEND="kopano" \
KCCONF_GRAPI_LDAP_URI="" \
KCCONF_GRAPI_LDAP_BASEDN="" \
KCCONF_GRAPI_LDAP_BINDDN="" \
KCCONF_GRAPI_LDAP_BINDPW_FILE=""
LABEL maintainer=az@zok.xyz \
org.label-schema.name="Kopano core container" \
+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