1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-23 01:45:37 +00:00

spell (via mispell) and markup fixed (#307)

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-12-13 13:27:55 +01:00 committed by GitHub
parent d1e71c6a25
commit acdb5bed88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 21 deletions

View File

@ -3,7 +3,7 @@
set -ex set -ex
# waits for key events in various containers # waits for key events in various containers
# e.g. kopano_server:236 signals succesful start of kopano-server process # e.g. kopano_server:236 signals successful start of kopano-server process
dockerize \ dockerize \
-wait file:///var/run/kopano/grapi/notify.sock \ -wait file:///var/run/kopano/grapi/notify.sock \
-wait http://kopano_konnect:8777/.well-known/openid-configuration \ -wait http://kopano_konnect:8777/.well-known/openid-configuration \

View File

@ -1,11 +1,11 @@
Situation and motivation: # Situation and motivation:
---
* running the kopano stack behind an ssl-terminating proxy * running the kopano stack behind an ssl-terminating proxy
* as less as possible mantainence affort --> run the kopano stack as close as possible at the default configuration * as less as possible maintenance effort --> run the kopano stack as close as possible at the default configuration
* using the kopano-stack to provide a central ldap authentication for the domain, but running the frontents using a subdomain * using the kopano-stack to provide a central ldap authentication for the domain, but running the frontend using a subdomain
## Way to go:
Way to go:
--
1. initial clean **setup of kopano stack** --> follow the documentation of https://github.com/zokradonh/kopano-docker/blob/master/README.md 1. initial clean **setup of kopano stack** --> follow the documentation of https://github.com/zokradonh/kopano-docker/blob/master/README.md
1. clone the repo https://github.com/zokradonh/kopano-docker 1. clone the repo https://github.com/zokradonh/kopano-docker
2. run the setup.sh (only steps, necessary for the configuration is shown here) 2. run the setup.sh (only steps, necessary for the configuration is shown here)
@ -15,26 +15,30 @@ Way to go:
4. Name of the BASE DN for LDAP `dc=mydomain,dc=com` 4. Name of the BASE DN for LDAP `dc=mydomain,dc=com`
5. E-Mail Address displayed for the 'postmaster' `postmaster@mydomain.com` 5. E-Mail Address displayed for the 'postmaster' `postmaster@mydomain.com`
2. ensure ldap and reverse-proxy domain is splitted correctly in generated `.env` file: 2. ensure ldap and reverse-proxy domain is split correctly in generated `.env` file:
```
```bash
LDAP_DOMAIN=mydomain.com LDAP_DOMAIN=mydomain.com
LDAP_BASE_DN=dc=mydomain,dc=com LDAP_BASE_DN=dc=mydomain,dc=com
FQDN=kopano.mydomain.com FQDN=kopano.mydomain.com
``` ```
3. ensure kwmserver is able to connect through an enpoint with valid ssl-certificate 3. ensure kwmserver is able to connect through an endpoint with valid ssl-certificate
```
```bash
FQDNCLEANED=somethingInvalidToEnforceConnectionFromOutsideEndpoint FQDNCLEANED=somethingInvalidToEnforceConnectionFromOutsideEndpoint
``` ```
4. ensure your traefik instance outside of the kopano-stack does allow **proxying to self-signed certificates**: 4. ensure your traefik instance outside of the kopano-stack does allow **proxying to self-signed certificates**:
```
```bash
command: --insecureSkipVerify=true command: --insecureSkipVerify=true
``` ```
5. disable the docker-host portmapping of the kopano-caddy proxy in `docker-compose.yml` to not interference with your traefik proxy 5. disable the docker-host portmapping of the kopano-caddy proxy in `docker-compose.yml` to not interference with your traefik proxy
```
```yaml
services: services:
web: web:
... ...
@ -44,8 +48,9 @@ services:
# - "${HTTPS:-443}:443" # - "${HTTPS:-443}:443"
``` ```
6. make the self-signed kopano reverse-proxy available in traeffik via `docker-compose.override.yml` 6. make the self-signed kopano reverse-proxy available in traefik via `docker-compose.override.yml`
```
```yaml
version: "3.5" version: "3.5"
services: services:
@ -70,4 +75,4 @@ networks:
name: ldap-net name: ldap-net
``` ```
Everything else should be configurable as normal. My test-setup showed a functional active-sync connection using the mdm plugin in the webapp, as well as screensharing via kopano-meet. Everything else should be configurable as normal. My test-setup showed a functional active-sync connection using the mdm plugin in the webapp, as well as screensharing via kopano-meet.

View File

@ -223,7 +223,7 @@ attributetype ( 1.3.6.1.4.1.47732.1.3.2.6
attributetype (1.3.6.1.4.1.47732.1.3.1.5 attributetype (1.3.6.1.4.1.47732.1.3.1.5
NAME 'kopanoQuotaUserWarningRecipients' NAME 'kopanoQuotaUserWarningRecipients'
DESC 'KOPANO: Users who will recieve a notification email when a user exceeds his quota' DESC 'KOPANO: Users who will receive a notification email when a user exceeds his quota'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
@ -231,7 +231,7 @@ attributetype (1.3.6.1.4.1.47732.1.3.1.5
attributetype (1.3.6.1.4.1.47732.1.3.1.6 attributetype (1.3.6.1.4.1.47732.1.3.1.6
NAME 'kopanoQuotaCompanyWarningRecipients' NAME 'kopanoQuotaCompanyWarningRecipients'
DESC 'KOPANO: Users who will recieve a notification email when a company exceeds its quota' DESC 'KOPANO: Users who will receive a notification email when a company exceeds its quota'
EQUALITY caseIgnoreMatch EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15

View File

@ -1,6 +1,6 @@
ARG docker_repo=zokradonh ARG docker_repo=zokradonh
FROM ${docker_repo}/kopano_ldap FROM ${docker_repo}/kopano_ldap
LABEL org.label-schema.description="Container for running OpenLDAP, which already has the Kopano schema included as well as users to easily demo the enviroment." LABEL org.label-schema.description="Container for running OpenLDAP, which already has the Kopano schema included as well as users to easily demo the environment."
COPY bootstrap /container/service/slapd/assets/config/bootstrap COPY bootstrap /container/service/slapd/assets/config/bootstrap

View File

@ -3,7 +3,7 @@
set -ex set -ex
# waits for key events in various containers # waits for key events in various containers
# e.g. kopano_server:236 signals succesful start of kopano-server process # e.g. kopano_server:236 signals successful start of kopano-server process
dockerize \ dockerize \
-wait file://var/run/kopano/grapi/notify.sock \ -wait file://var/run/kopano/grapi/notify.sock \
-wait file://var/run/kopano/server.sock \ -wait file://var/run/kopano/server.sock \