1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-08 16:36:19 +00:00

Make this project work with ID4ME (DenicID) (#127)

* update konnect to 0.21.0
* add example configuration
This commit is contained in:
Felix Bartels 2019-03-24 18:44:36 +01:00 committed by GitHub
parent caac8a5c03
commit cc1167291c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -446,6 +446,7 @@ services:
environment: environment:
- FQDN=${FQDN} - FQDN=${FQDN}
- allow_client_guests=yes - allow_client_guests=yes
- allow_dynamic_client_registration=yes
env_file: env_file:
- kopano_konnect.env - kopano_konnect.env
networks: networks:

View File

@ -1,4 +1,4 @@
ARG CODE_VERSION=0.20.0 ARG CODE_VERSION=0.21.0
FROM kopano/konnectd:${CODE_VERSION} FROM kopano/konnectd:${CODE_VERSION}
ARG CODE_VERSION ARG CODE_VERSION
ENV CODE_VERSION="${CODE_VERSION}" ENV CODE_VERSION="${CODE_VERSION}"

View File

@ -21,6 +21,11 @@ if [ "$allow_client_guests" = "yes" ]; then
set -- "$@" "--allow-client-guests" set -- "$@" "--allow-client-guests"
fi fi
# shellcheck disable=SC2154
if [ "$allow_dynamic_client_registration" = "yes" ]; then
set -- "$@" "--allow-dynamic-client-registration"
fi
dockerize \ dockerize \
-wait file:///kopano/ssl/konnectd-tokens-signing-key.pem \ -wait file:///kopano/ssl/konnectd-tokens-signing-key.pem \
-wait file:///kopano/ssl/konnectd-encryption.key \ -wait file:///kopano/ssl/konnectd-encryption.key \