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

Merge branch 'cguentherTUChemnitz-master'

This commit is contained in:
Felix Bartels 2019-01-03 07:54:32 +01:00
commit a9ef309cb0
2 changed files with 28 additions and 19 deletions

View File

@ -1,4 +1,5 @@
# (unofficial) Kopano Docker Images # (unofficial) Kopano Docker Images
[![Build Status](https://travis-ci.com/zokradonh/kopano-docker.svg?branch=master)](https://travis-ci.com/zokradonh/kopano-docker)
This repository contains an easy to replicate recipe to spin up a [Kopano](https://kopano.com/) demo environment, which can (through modification of `.env` and possibly `docker-compose.yml`) also be used for production environments. This repository contains an easy to replicate recipe to spin up a [Kopano](https://kopano.com/) demo environment, which can (through modification of `.env` and possibly `docker-compose.yml`) also be used for production environments.
@ -12,6 +13,8 @@ This repository contains an easy to replicate recipe to spin up a [Kopano](https
- now run `docker-compose up` and you will see how the remaining Docker images are pulled and then everything is started - now run `docker-compose up` and you will see how the remaining Docker images are pulled and then everything is started
- after startup has succeeded you can access the Kopano WebApp by going to `https://kopano.demo/webapp` - after startup has succeeded you can access the Kopano WebApp by going to `https://kopano.demo/webapp`
- you can also access phpLDAPadmin by going to `https://kopano.demo/ldap-admin` - you can also access phpLDAPadmin by going to `https://kopano.demo/ldap-admin`
- you can access the ldap-admin web frontent in readonly mode with: `LDAP_BIND_DN` env var as login dn and the `LDAP_BIND_PW` env var provided by the .env file (which is generated by the setup.sh)
- if you want to modify the ldap content you can access the ldap-admin web frontend by using the `cn=admin,` appending the `LDAP_BASE_DN` env var as the login dn and `LDAP_ADMIN_PASSWORD` as the password
**Note:** There have been reports about the ldap demo not starting up on MacOS. It is recommended to use a Linux OS if you want to use the bundled LDAP image. **Note:** There have been reports about the ldap demo not starting up on MacOS. It is recommended to use a Linux OS if you want to use the bundled LDAP image.

View File

@ -1,4 +1,4 @@
version: "3" version: "3.5"
services: services:
web: web:
@ -19,7 +19,7 @@ services:
volumes: volumes:
- web:/.kweb - web:/.kweb
networks: networks:
- web - web-net
ldap: ldap:
image: ${docker_repo:?err}/kopano_ldap_demo image: ${docker_repo:?err}/kopano_ldap_demo
@ -38,7 +38,7 @@ services:
- ldap:/var/lib/ldap - ldap:/var/lib/ldap
- slapd:/etc/ldap/slapd.d - slapd:/etc/ldap/slapd.d
networks: networks:
- kopanonet - ldap-net
ldap-admin: ldap-admin:
image: osixia/phpldapadmin:0.7.2 image: osixia/phpldapadmin:0.7.2
@ -52,7 +52,8 @@ services:
links: links:
- ldap - ldap
networks: networks:
- web - ldap-net
- web-net
mail: mail:
image: tvial/docker-mailserver:release-v6.1.0 image: tvial/docker-mailserver:release-v6.1.0
@ -102,7 +103,8 @@ services:
- POSTFIX_DAGENT=lmtp:kopano_dagent:2003 - POSTFIX_DAGENT=lmtp:kopano_dagent:2003
- REPORT_RECIPIENT=1 - REPORT_RECIPIENT=1
networks: networks:
- kopanonet - kopano-net
- ldap-net
#dns: 1.1.1.1 # using Google DNS can lead to lookup errors uncomment this option and #dns: 1.1.1.1 # using Google DNS can lead to lookup errors uncomment this option and
# set to the ip of a trusted dns service (Cloudflare is given as an example). # set to the ip of a trusted dns service (Cloudflare is given as an example).
# See https://github.com/zokradonh/kopano-docker/issues/52 for more information. # See https://github.com/zokradonh/kopano-docker/issues/52 for more information.
@ -127,7 +129,7 @@ services:
timeout: 10s timeout: 10s
retries: 4 retries: 4
networks: networks:
- kopanonet - kopano-net
kopano_ssl: kopano_ssl:
image: ${docker_repo:?err}/kopano_ssl image: ${docker_repo:?err}/kopano_ssl
@ -171,7 +173,8 @@ services:
- KCCOMMENT_LDAP_1=${KCCOMMENT_LDAP_1} - KCCOMMENT_LDAP_1=${KCCOMMENT_LDAP_1}
- ADDITIONAL_KOPANO_PACKAGES=${ADDITIONAL_KOPANO_PACKAGES} - ADDITIONAL_KOPANO_PACKAGES=${ADDITIONAL_KOPANO_PACKAGES}
networks: networks:
- kopanonet - kopano-net
- ldap-net
volumes: volumes:
- kopanodata/:/kopano/data - kopanodata/:/kopano/data
- kopanossl/:/kopano/ssl - kopanossl/:/kopano/ssl
@ -190,8 +193,8 @@ services:
- TZ=${TZ} - TZ=${TZ}
- ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS} - ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}
networks: networks:
- web - web-net
- kopanonet - kopano-net
kopano_zpush: kopano_zpush:
image: ${docker_repo:?err}/kopano_zpush:${ZPUSH_VERSION} image: ${docker_repo:?err}/kopano_zpush:${ZPUSH_VERSION}
@ -206,8 +209,8 @@ services:
environment: environment:
- TZ=${TZ} - TZ=${TZ}
networks: networks:
- web - web-net
- kopanonet - kopano-net
kopano_dagent: kopano_dagent:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -223,7 +226,7 @@ services:
- KCCONF_DAGENT_LOG_LEVEL=6 - KCCONF_DAGENT_LOG_LEVEL=6
- KCCONF_DAGENT_SSLKEY_FILE=/kopano/ssl/kdagent.pem - KCCONF_DAGENT_SSLKEY_FILE=/kopano/ssl/kdagent.pem
networks: networks:
- kopanonet - kopano-net
kopano_spooler: kopano_spooler:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -242,7 +245,7 @@ services:
- KCCONF_SPOOLER_SMTP_SERVER=mail - KCCONF_SPOOLER_SMTP_SERVER=mail
- KCCONF_SPOOLER_SSLKEY_FILE=/kopano/ssl/kspooler.pem - KCCONF_SPOOLER_SSLKEY_FILE=/kopano/ssl/kspooler.pem
networks: networks:
- kopanonet - kopano-net
kopano_gateway: kopano_gateway:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -258,7 +261,7 @@ services:
- KCCONF_GATEWAY_SERVER_SOCKET=http://kopano_server:236/ - KCCONF_GATEWAY_SERVER_SOCKET=http://kopano_server:236/
- KCCONF_GATEWAY_LOG_LEVEL=6 - KCCONF_GATEWAY_LOG_LEVEL=6
networks: networks:
- kopanonet - kopano-net
kopano_ical: kopano_ical:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -273,7 +276,7 @@ services:
- TZ=${TZ} - TZ=${TZ}
- KCCONF_ICAL_SERVER_SOCKET=http://kopano_server:236/ - KCCONF_ICAL_SERVER_SOCKET=http://kopano_server:236/
networks: networks:
- kopanonet - kopano-net
kopano_monitor: kopano_monitor:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -287,7 +290,7 @@ services:
- SERVICE_TO_START=monitor - SERVICE_TO_START=monitor
- TZ=${TZ} - TZ=${TZ}
networks: networks:
- kopanonet - kopano-net
kopano_search: kopano_search:
image: ${docker_repo:?err}/kopano_core:${CORE_VERSION} image: ${docker_repo:?err}/kopano_core:${CORE_VERSION}
@ -302,7 +305,7 @@ services:
- SERVICE_TO_START=search - SERVICE_TO_START=search
- TZ=${TZ} - TZ=${TZ}
networks: networks:
- kopanonet - kopano-net
volumes: volumes:
web: web:
ldap: ldap:
@ -317,6 +320,9 @@ volumes:
zpushstates: zpushstates:
networks: networks:
web: web-net:
kopanonet: kopano-net:
driver: bridge
ldap-net:
name: ldap-net
driver: bridge driver: bridge