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:
@@ -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>
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user