1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

start kopano-server through dockerize

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels
2018-11-04 12:05:57 +01:00
parent c8096b9a8f
commit 0c459dd16d
3 changed files with 350 additions and 8 deletions
+10 -4
View File
@@ -15,12 +15,19 @@ services:
- ./web/Caddyfile:/etc/Caddyfile
- ./data/web:/root/.caddy
ldap:
build: ldap/
environment:
- LDAP_DOMAIN="localhost.localdomain"
mail:
image: tvial/docker-mailserver:latest
restart: always
hostname: mail
domainname: kopano.demo # change here
container_name: mail
links:
- ldap
ports:
- "25:25"
volumes:
@@ -34,11 +41,11 @@ services:
- ENABLE_CLAMAV=1
- ENABLE_FAIL2BAN=1
- ENABLE_POSTGREY=1
- ONE_DIR=0
- ONE_DIR=1
- DMS_DEBUG=0
- SSL_TYPE=manual
- SSL_CERT_PATH=/tmp/ssl/mail.kopano.demo.crt
- SSL_KEY_PATH=/tmp/ssl/mail.kopano.demo.key
#- SSL_CERT_PATH=/tmp/ssl/mail.kopano.demo.crt
#- SSL_KEY_PATH=/tmp/ssl/mail.kopano.demo.key
- ENABLE_LDAP=1
- LDAP_SERVER_HOST=ldaps://ldapserver:ldapport #change here
- LDAP_SEARCH_BASE=OU=MyUsers,DC=domain,DC=tld #change here
@@ -99,7 +106,6 @@ services:
- ./data/socket/:/run/kopano
environment:
- TZ=Europe/Berlin
#- ADDITIONAL_KOPANO_PACKAGES=kopano-webapp-plugin-mattermost
networks:
- web
- kopanonet