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

fallback to a hardcoded value in case FQDNCLEANED is not set (#443)

* fallback to a hardcoded value in case FQDNCLEANED is not set
* strip ports in kweb startup script
This commit is contained in:
Felix Bartels
2020-09-15 11:29:41 +02:00
committed by GitHub
parent 9a7bca01c7
commit 045ca52d79
5 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
Example provided by [ronnybremer](https://github.com/ronnybremer) in [Add reverse proxy example for Apache](https://github.com/zokradonh/kopano-docker/issues/372).
To be able to use a different proxy, than the bundled kweb the env variable `FQDNCLEANED` needs to be set to an invalid value (to not route traffic through it, but the external proxy). Additionally `EMAIL` needs to be set to `off`.
To be able to use a different proxy, than the bundled kweb the env variable `FQDNCLEANED` needs to be unset (to not route traffic through it, but the external proxy). Additionally `EMAIL` needs to be set to `off`.
```bash
<VirtualHost aaa.bbb.ccc.ddd:443 [aaaa:bbbb:cccc:dddd:eeee:ffff::yy]:443>
+2 -2
View File
@@ -11,7 +11,7 @@ services:
environment:
- DEFAULTREDIRECT=/meet
- EMAIL=${EMAIL:-off}
- FQDN=${FQDNCLEANED?err}
- FQDN=${FQDN}
command: wrapper.sh
volumes:
- /etc/machine-id:/etc/machine-id
@@ -20,7 +20,7 @@ services:
networks:
web-net:
aliases:
- ${FQDNCLEANED?err}
- ${FQDNCLEANED:-domain.invalid}
ldap:
image: ${docker_repo:-kopano}/${LDAP_CONTAINER:-kopano_ldap_demo}:${LDAP_VERSION:-latest}