1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-22 05:42:54 +00:00

Add support for meet guest mode and make meet configurable through env (#105)

* get settings for meet from env
* prepare ssl container for device registration for konnect/kwmserver
* move device registry modification to konnect container
* enable WebApp in the app switcher
* upstream docker container has been updated to alpine 3.9
* update konnect
* add further config for guest mode
* replace the check for the file with a check for konnect startup
* fix kwmserver wrapper
* add possibility to change logging in kwmserver
This commit is contained in:
Felix Bartels
2019-03-18 15:22:32 +01:00
committed by GitHub
parent 4e367badc5
commit 140506df7d
7 changed files with 142 additions and 9 deletions
+21
View File
@@ -53,6 +53,27 @@ if [ ! -f $secretkey ]; then
mv $secretkey.tmp $secretkey
fi
# Meet guest mode
ecparam="/kopano/ssl/ecparam.pem"
if [ ! -f $ecparam ]; then
echo "Creating ec param key for Meet..."
openssl ecparam -name prime256v1 -genkey -noout -out $ecparam.tmp >/dev/null 2>&1
mv $ecparam.tmp $ecparam
fi
# create registration.yml so that konnect can write to it
touch /kopano/ssl/konnectd-identifier-registration.yaml
# chown to the numerical representation of nobody/nogroup
chown 65534:65534 /kopano/ssl/konnectd-identifier-registration.yaml
eckey="/kopano/ssl/meet-kwmserver.pem"
if [ ! -f $eckey ]; then
echo "Creating ec key for Meet..."
openssl ec -in $ecparam -out $eckey.tmp >/dev/null 2>&1
chown 65534:65534 $eckey.tmp
mv $eckey.tmp $eckey
fi
echo "SSL certs:"
ls -l /kopano/ssl/*.*