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

prepare ldap for multiserver (#169)

* add multi-server attributes to ldif
* add  example compose file for a multiserver
* add readme
* add script for database creation within the existing database instance
* add generation of admin.pem
* add own certificate for kopano_server_2
* add admin.pem to compose (only for multiserver)
* add spooler for 2nd node
* add link to ldap demo readme
This commit is contained in:
Felix Bartels
2019-10-16 22:39:15 +02:00
committed by GitHub
parent b004988517
commit b3c7d702be
8 changed files with 204 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ FROM alpine:3.9
ARG VCS_REF
ENV CODE_VERSION=1.1.0 \
ENV CODE_VERSION=1.2.0 \
PKI_ROOT=/kopano/easypki \
PKI_ORGANIZATION="Internal Kopano System" \
PKI_COUNTRY=DE
+1 -1
View File
@@ -21,7 +21,7 @@ if [ ! -f /kopano/ssl/ca.pem ]; then
cp /kopano/easypki/internalca/certs/internalca.crt /kopano/ssl/ca.pem.tmp
mv /kopano/ssl/ca.pem.tmp /kopano/ssl/ca.pem
for s in kopano_server kopano_dagent kopano_monitor kopano_search kopano_spooler kopano_webapp; do
for s in kopano_server kopano_server_2 kopano_dagent kopano_monitor kopano_search kopano_spooler kopano_webapp admin; do
if [ ! -f /kopano/ssl/$s.pem ]; then
echo "Creating $s certificate..."
easypki create --ca-name internalca --organizational-unit $s --expire 3650 --dns $s --dns "$FQDN" $s