mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +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:
parent
da5d41c411
commit
6cc5d12343
@ -109,6 +109,7 @@ services:
|
|||||||
- ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}
|
- ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}
|
||||||
- KCCONF_WEBAPP_OIDC_CLIENT_ID=webapp
|
- KCCONF_WEBAPP_OIDC_CLIENT_ID=webapp
|
||||||
- KCCONF_WEBAPP_OIDC_ISS=https://${FQDN}
|
- 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}
|
- TZ=${TZ}
|
||||||
env_file:
|
env_file:
|
||||||
- kopano_webapp.env
|
- kopano_webapp.env
|
||||||
|
@ -4,11 +4,4 @@
|
|||||||
|
|
||||||
# healthcheck
|
# healthcheck
|
||||||
status 200 /status
|
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
|
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,7 @@ RUN mkdir -p /tmp/webapp/ && \
|
|||||||
ln -s /tmp/webapp/"$(basename "$i")" "$i"; \
|
ln -s /tmp/webapp/"$(basename "$i")" "$i"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
COPY kweb.cfg /etc/kweb.cfg
|
||||||
COPY start.sh /kopano/start.sh
|
COPY start.sh /kopano/start.sh
|
||||||
COPY goss* /goss/
|
COPY goss* /goss/
|
||||||
|
|
||||||
|
14
webapp/kweb.cfg
Normal file
14
webapp/kweb.cfg
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user