1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-06 15:36:40 +00:00

fix php version in kweb config (#357)

* fix php version in kweb config
* include webapp kweb config only in the webapp container build
* add workaround for https://jira.kopano.io/browse/KW-3398 for oidc
This commit is contained in:
Felix Bartels 2020-03-10 15:30:03 +01:00 committed by GitHub
parent da5d41c411
commit 6cc5d12343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 7 deletions

View File

@ -109,6 +109,7 @@ services:
- ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}
- KCCONF_WEBAPP_OIDC_CLIENT_ID=webapp
- KCCONF_WEBAPP_OIDC_ISS=https://${FQDN}
- KCCONF_WEBAPP_CLIENT_TIMEOUT=0 # needed to set to 0 to work around an oidc bug KW-3398
- TZ=${TZ}
env_file:
- kopano_webapp.env

View File

@ -4,11 +4,4 @@
# healthcheck
status 200 /status
alias /webapp/ /usr/share/kopano-webapp/
fastcgi2 /webapp/ /run/php/php7.0-fpm.sock php {
without /webapp/
root /usr/share/kopano-webapp/
}
folderish /webapp
}

View File

@ -71,6 +71,7 @@ RUN mkdir -p /tmp/webapp/ && \
ln -s /tmp/webapp/"$(basename "$i")" "$i"; \
done
COPY kweb.cfg /etc/kweb.cfg
COPY start.sh /kopano/start.sh
COPY goss* /goss/

14
webapp/kweb.cfg Normal file
View File

@ -0,0 +1,14 @@
:9080 {
log stdout
errors stderr
# healthcheck
status 200 /status
alias /webapp/ /usr/share/kopano-webapp/
fastcgi2 /webapp/ /run/php/php7.3-fpm.sock php {
without /webapp/
root /usr/share/kopano-webapp/
}
folderish /webapp
}