Work on collabora container
This commit is contained in:
parent
46d91e1305
commit
279e8a136e
@ -213,6 +213,10 @@ mariadb -h {SERVER} -u {USERNAME} -p{PASSWORD} {DB NAME} < nextcloud-sqlbkp.bak
|
|||||||
|
|
||||||
> Unfinished
|
> Unfinished
|
||||||
|
|
||||||
|
> [Docker Compose for Nextcloud + Collabora + Traefik?](https://help.nextcloud.com/t/docker-compose-for-nextcloud-collabora-traefik/127733/2)
|
||||||
|
> [Use HTTPS with Ubuntu 22.04, apache, Nextcloud and Collabora(Docker)](https://help.nextcloud.com/t/use-https-with-ubuntu-22-04-apache-nextcloud-and-collabora-docker/142880)
|
||||||
|
> [HowTo: Ubuntu + Docker + Nextcloud + Talk + Collabora](https://help.nextcloud.com/t/howto-ubuntu-docker-nextcloud-talk-collabora/76430)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
podman run -t -d --name collabora-online -p 9980:9980 \
|
podman run -t -d --name collabora-online -p 9980:9980 \
|
||||||
-e "extra_params=--o:ssl.enable=false" \
|
-e "extra_params=--o:ssl.enable=false" \
|
||||||
@ -221,6 +225,58 @@ podman run -t -d --name collabora-online -p 9980:9980 \
|
|||||||
docker.io/collabora/code:latest
|
docker.io/collabora/code:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```nginx
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name collabora.exu.li;
|
||||||
|
|
||||||
|
ssl_certificate_key /etc/acme-sh/collabora.exu.li/key.pem;
|
||||||
|
ssl_certificate /etc/acme-sh/collabora.exu.li/cert.pem;
|
||||||
|
|
||||||
|
# static files
|
||||||
|
location ^~ /browser {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
|
|
||||||
|
# WOPI discovery URL
|
||||||
|
location ^~ /hosting/discovery {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Capabilities
|
||||||
|
location ^~ /hosting/capabilities {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
|
|
||||||
|
# main websocket
|
||||||
|
location ~ ^/cool/(.*)/ws$ {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_read_timeout 36000s;
|
||||||
|
}
|
||||||
|
|
||||||
|
# download, presentation and image upload
|
||||||
|
location ~ ^/(c|l)ool {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Admin Console websocket
|
||||||
|
location ^~ /cool/adminws {
|
||||||
|
proxy_pass http://172.18.50.101:9980;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_read_timeout 36000s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Onlyoffice Container
|
## Onlyoffice Container
|
||||||
|
|
||||||
> Unfinished
|
> Unfinished
|
||||||
|
Loading…
Reference in New Issue
Block a user