1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-21 21:33:02 +00:00

Add variables to change names of the other docker container (#231)

* Add variables to change names of the other docker container
	modified:   Dockerfile
	modified:   kweb.cfg
* fix default values for konnect and kapi
add inline comment
This commit is contained in:
RobinvG
2019-08-31 20:23:39 +02:00
committed by Felix Bartels
parent de66536525
commit 0a7eb73e69
2 changed files with 30 additions and 16 deletions
+15 -16
View File
@@ -1,7 +1,6 @@
{%FQDN%}:80, *:80 {
log stdout
errors stdout
redir / https://{host}{uri}
}
@@ -26,7 +25,7 @@
}
# Config
proxy /api/config/v1/kopano/meet/ http://kopano_meet:9080/ {
proxy /api/config/v1/kopano/meet/ http://{%KWEBD_DNS_MEET%}:9080/ {
fail_timeout 10s
try_duration 30s
transparent
@@ -36,7 +35,7 @@
# Konnect
proxy /upstreams/konnect/ {
without /upstreams/konnect/
upstream kopano_konnect:8777
upstream {%KWEBD_DNS_KONNECT%}:8777
policy least_conn
health_check /health-check
fail_timeout 10s
@@ -65,7 +64,7 @@
# Kapi
proxy /upstreams/kapi/ {
without /upstreams/kapi/
upstream kopano_kapi:8039
upstream {%KWEBD_DNS_KAPI%}:8039
policy least_conn
health_check /health-check
fail_timeout 10s
@@ -89,7 +88,7 @@
}
# playground for oidc
proxy /oidc-playground/ http://kopano_playground:8888/ {
proxy /oidc-playground/ http://{%KWEBD_DNS_PLAYGROUND%}:8888/ {
fail_timeout 10s
try_duration 30s
transparent
@@ -98,7 +97,7 @@
folderish /oidc-playground
# playground for Kapi
proxy /kapi-playground/ http://kopano_playground:8888/ {
proxy /kapi-playground/ http://{%KWEBD_DNS_PLAYGROUND%}:8888/ {
fail_timeout 10s
try_duration 30s
transparent
@@ -109,7 +108,7 @@
# Kwmserver
proxy /upstreams/kwmserver/ {
without /upstreams/kwmserver/
upstream kopano_kwmserver:8778
upstream {%KWEBD_DNS_KWMSERVER%}:8778
policy least_conn
health_check /health-check
fail_timeout 10s
@@ -126,7 +125,7 @@
to /upstreams/kwmserver/{path}
}
proxy /meet/ kopano_meet:9080 {
proxy /meet/ {%KWEBD_DNS_MEET%}:9080 {
fail_timeout 10s
try_duration 30s
transparent
@@ -134,7 +133,7 @@
}
folderish /meet
proxy /webapp/ kopano_webapp:9080 {
proxy /webapp/ {%KWEBD_DNS_WEBAPP%}:9080 {
fail_timeout 10s
try_duration 30s
transparent
@@ -142,41 +141,41 @@
}
folderish /webapp
proxy /Microsoft-Server-ActiveSync kopano_zpush:80 {
proxy /Microsoft-Server-ActiveSync {%KWEBD_DNS_ZPUSH%}:80 {
transparent
keepalive 0
timeout 3540s
}
proxy /AutoDiscover/AutoDiscover.xml kopano_zpush:80 {
proxy /AutoDiscover/AutoDiscover.xml {%KWEBD_DNS_ZPUSH%}:80 {
transparent
keepalive 0
fail_timeout 10s
try_duration 30s
}
proxy /Autodiscover/Autodiscover.xml kopano_zpush:80 {
proxy /Autodiscover/Autodiscover.xml {%KWEBD_DNS_ZPUSH%}:80 {
transparent
keepalive 0
fail_timeout 10s
try_duration 30s
}
proxy /autodiscover/autodiscover.xml kopano_zpush:80 {
proxy /autodiscover/autodiscover.xml {%KWEBD_DNS_ZPUSH%}:80 {
transparent
keepalive 0
fail_timeout 10s
try_duration 30s
}
proxy /caldav/ kopano_ical:8080 {
proxy /caldav/ {%KWEBD_DNS_ICAL%}:8080 {
fail_timeout 10s
try_duration 30s
transparent
}
folderish /caldav
proxy /kdav/ kopano_kdav:80 {
proxy /kdav/ {%KWEBD_DNS_KDAV%}:80 {
transparent
keepalive 0
fail_timeout 10s
@@ -200,7 +199,7 @@
}
redir /password-reset /password-reset/
proxy /grapi-explorer/ http://kopano_grapi-explorer:3000/ {
proxy /grapi-explorer/ http://{%KWEBD_DNS_GRAPI%}-explorer:3000/ {
fail_timeout 10s
try_duration 30s
transparent