mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +00:00
* replace previous caddy construct with kopano kweb * add kweb to makefile * greatly simplifies setup, if user wants to tweak config of kweb he could do so in git and make a local build. Fixes #22 * ping kweb version * update readme * remove build argument from docker-compose for web and ldap-demo * fix certificate handling in kweb. fixes #38
11 lines
230 B
Bash
Executable File
11 lines
230 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$EMAIL" = "self_signed" ]; then
|
|
# do not use the '-host' option if using a self signed cert
|
|
exec kwebd caddy -conf /etc/kweb.cfg -agree
|
|
else
|
|
exec kwebd caddy -conf /etc/kweb.cfg -agree -host "$FQDN"
|
|
fi
|