1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00

make ldap port configurable

fix startup for grapi

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-01-28 20:29:09 +01:00
parent 6a14fbe174
commit 32fe88e5d8
3 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,7 @@ ical)
grapi)
LC_CTYPE=en_US.UTF-8
export socket_path=/var/run/kopano/grapi
mkdir $socket_path
mkdir -p $socket_path
chown -R kapi:kopano $socket_path
# cleaning up env variables
unset "${!KCCONF_@}"

View File

@ -22,7 +22,7 @@ services:
image: ${docker_repo:?err}/kopano_ldap_demo
container_name: ldap
ports:
- 389:389
- ${LDAPPORT:-389}:389
environment:
- LDAP_ORGANISATION=${LDAP_ORGANISATION}
- LDAP_DOMAIN=${LDAP_DOMAIN}

View File

@ -297,6 +297,7 @@ FQDN=$FQDN
EMAIL=$EMAIL
HTTP=80
HTTPS=443
LDAPPORT=389
# Settings for test environments
EXTRAHOSTS=$FQDN:$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')