support for Collabora/CODE 21.11+ for the developer install

This commit is contained in:
Ralf Becker 2022-02-02 20:51:49 +02:00
parent 9a52fed3d5
commit 67ac05a786
2 changed files with 16 additions and 0 deletions

View File

@ -201,6 +201,10 @@ services:
# needs to be initialised via: docker run --rm -v dev_collabora-config:/mnt --entrypoint '/bin/cp -r /etc/loolwsd /mnt' quay.io/egroupware/collabora-key:stable
volumes:
- collabora-config:/etc/loolwsd
# support for Collabora/CODE 21.11+
- collabora-config:/etc/coolwsd
- $PWD/data/default/loolwsd/loolwsd.xml:/etc/coolwsd/coolwsd.xml
- $PWD/data/default/loolwsd/loolkitconfig.xcu:/etc/coolwsd/loolkitconfig.xcu
# dont try to regenerate the (not used certificate) as volumn is readonly
environment:
- DONT_GEN_SSL_CERT=1

View File

@ -121,6 +121,11 @@ server {
proxy_pass http://collabora-key:9980;
proxy_set_header Host $http_host;
}
# Collabora/CODE 21.11+
location ^~ /browser {
proxy_pass http://collabora-key:9980;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
@ -135,6 +140,13 @@ server {
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
# Collabora/CODE 21.11+
location ^~ /cool {
proxy_pass http://collabora-key:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
# proxy into rocketchat container
location /rocketchat {