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

Corrected major documentation problems

This commit is contained in:
Andre Zoledziowski 2018-06-25 23:39:48 +02:00
parent fae4427628
commit 3b33916353
3 changed files with 20 additions and 19 deletions

View File

@ -1,5 +1,7 @@
# KopanoDocker # KopanoDocker
Inofficial kopano docker images for all kopano services. Unofficial kopano docker images for all kopano services.
Use kopano_core image for server/spooler/dagent/search/monitor/ical/gateway services.
Use kopano_webapp for web service.
Example Example
======= =======
@ -11,7 +13,7 @@ version: '3'
services: services:
kserver: kserver:
image: zokradonh/kopano_server:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
hostname: kserver hostname: kserver
container_name: kopano_server container_name: kopano_server
links: links:
@ -38,6 +40,8 @@ services:
- KCCONF_LDAP_LDAP_BIND_USER=cn=SOME_STANDARD_USER,OU=MyUsers,DC=domain,DC=tld #change here - KCCONF_LDAP_LDAP_BIND_USER=cn=SOME_STANDARD_USER,OU=MyUsers,DC=domain,DC=tld #change here
- KCCONF_LDAP_LDAP_BIND_PASSWD=PASSWORD_OF_STANDARD_USER #change here - KCCONF_LDAP_LDAP_BIND_PASSWD=PASSWORD_OF_STANDARD_USER #change here
- KCCONF_LDAP_LDAP_SEARCH_BASE=OU=MyUsers,dc=domain,dc=tld #change here - KCCONF_LDAP_LDAP_SEARCH_BASE=OU=MyUsers,dc=domain,dc=tld #change here
- KCCOMMENT_LDAP_1=!include /usr/share/kopano/ldap.openldap.cfg #delete if you want openldap
- KCUNCOMMENT_LDAP_1=!include /usr/share/kopano/ldap.active-directory.cfg #delete if you want openldap
networks: networks:
- kopanonet - kopanonet
volumes: volumes:
@ -45,7 +49,7 @@ services:
- sslcerts:/kopano/ssl - sslcerts:/kopano/ssl
kdagent: kdagent:
image: zokradonh/kopano_dagent:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_dagent container_name: kopano_dagent
links: links:
- kserver - kserver
@ -60,7 +64,7 @@ services:
- kopanonet - kopanonet
kgateway: kgateway:
image: zokradonh/kopano_gateway:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_gateway container_name: kopano_gateway
links: links:
- kserver - kserver
@ -75,7 +79,7 @@ services:
- kopanonet - kopanonet
kical: kical:
image: zokradonh/kopano_ical:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_ical container_name: kopano_ical
links: links:
- kserver - kserver
@ -86,7 +90,7 @@ services:
- kopanonet - kopanonet
kmonitor: kmonitor:
image: zokradonh/kopano_monitor:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_monitor container_name: kopano_monitor
links: links:
- kserver - kserver
@ -100,7 +104,7 @@ services:
- kopanonet - kopanonet
ksearch: ksearch:
image: zokradonh/kopano_search:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_search container_name: kopano_search
links: links:
- kserver - kserver
@ -115,7 +119,7 @@ services:
- kopanonet - kopanonet
kspooler: kspooler:
image: zokradonh/kopano_spooler:${CORE_VERSION} image: zokradonh/kopano_core:${CORE_VERSION}
container_name: kopano_spooler container_name: kopano_spooler
links: links:
- kserver - kserver
@ -244,14 +248,12 @@ networks:
Requires haproxy network for http reverse proxy. Requires haproxy network for http reverse proxy.
Change all lines which are commented especially those with #change here Change all lines which are commented especially those with #change here
Requires Active Directory as user backend.
This is just a quick example docker-compose.yml made in some minutes to provide a better start. This is just a quick example docker-compose.yml made in some minutes to provide a better start.
Requires `.env` file next to docker-compose.yml with content like this Requires `.env` file next to docker-compose.yml with content like this
``` ```
CORE_VERSION=core-8.6.80.45 CORE_VERSION=8.6.80.1055-0plus156.1
WEBAPP_VERSION=webapp-3.4.8.1296 WEBAPP_VERSION=3.4.17.1565plus895.1
``` ```
Requires `ldap-groups.cf` in ./mtaconfig directory next to docker-compose.yml Requires `ldap-groups.cf` in ./mtaconfig directory next to docker-compose.yml

View File

@ -43,7 +43,7 @@ if [ $isproxyup -eq 0 ]
then then
echo "Build proxy container not runnning - now building..." echo "Build proxy container not runnning - now building..."
docker build -t kopano_buildproxy ${buildcontext_base}repoproxy docker build -t kopano_buildproxy ${buildcontext_base}repoproxy
echo "Start building proxy..." echo "Start buildproxy helper..."
docker run --rm -ti -d -e KOPANO_SERIAL=$serial --network buildkopano_bnet --network-alias buildproxy kopano_buildproxy docker run --rm -ti -d -e KOPANO_SERIAL=$serial --network buildkopano_bnet --network-alias buildproxy kopano_buildproxy
fi fi

View File

@ -2,13 +2,12 @@ E-Mail attachment directory is by default in `/kopano/data/attachments/` so bind
You can reconfigure by setting environment variable `KCCONF_SERVER_ATTACHMENT_PATH`. You can reconfigure by setting environment variable `KCCONF_SERVER_ATTACHMENT_PATH`.
You can change all server.cfg settings you like prefixed with "`KCCONF_SERVER_`" You can change all server.cfg settings you like prefixed with `KCCONF_SERVER_`
So specify "`KCCONF_SERVER_MYSQL_HOST`" for "mysql\_host" setting in "server.cfg". So specify `KCCONF_SERVER_MYSQL_HOST` for `mysql_host` setting in `server.cfg`.
Or specify "`KCCONF_LDAP_LDAP_SEARCH_BASE`" to set "ldap\_search_base" in "ldap.cfg". Or specify `KCCONF_LDAP_LDAP_SEARCH_BASE` to set `ldap_search_base` in `ldap.cfg`.
This image activates ActiveDirectory mode (Not OpenLDAP). You may override default settings with `KCCONF_*` options or comment specific options in/out with `KCCOMMENT_filenameWithoutExtension_anystring=searchline`
So you need an ActiveDirectory already running to use this. e.g. `KCCOMMENT_LDAP_1=!include /usr/share/kopano/ldap.openldap.cfg`
You may try to override default settings with "`KCCONF_*`" options but using OpenLDAP instead of ActiveDirectory will fail due to !include command in ldap.cfg. This docker image does not support any method to edit this file. Create your own Dockerfile to enable OpenLDAP.
For coredumps on crashes kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0. For coredumps on crashes kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0.