Notes on Onlyoffice
Requires CSP and how I set it Podman command for Onlyoffice just sets the token Multiple links on Installation, integration and proxy configuration linked
This commit is contained in:
parent
ecdc2de7e8
commit
32898d0bf3
@ -278,11 +278,19 @@ server {
|
||||
|
||||
## Onlyoffice Container
|
||||
|
||||
> Unfinished
|
||||
Integrating onlyoffice, requires setting the correct Content Security Policy headers on the webserver. Using CSP also introduces blockages in Nextcloud that have to be fixed. The console view is your friend for finding every issue.
|
||||
For my installation, the headers needed to be set like this.
|
||||
|
||||
```
|
||||
Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: onlyoffice.exu.li;"
|
||||
```
|
||||
|
||||
```sh
|
||||
podman run -it -d --name onlyoffice -p 9480:80 \
|
||||
--restart always \
|
||||
--label "io.containers.autoupdate=image" \
|
||||
docker.io/onlyoffice/documentserver:latest
|
||||
sudo podman run -itd --name onlyoffice -p 8080:80 \
|
||||
-e JWT_SECRET={secret key} \
|
||||
docker.io/onlyoffice/documentserver
|
||||
```
|
||||
|
||||
> [Installing ONLYOFFICE Docs Community Edition for Docker on a local server](https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx)
|
||||
> [About the ONLYOFFICE and Nextcloud integration](https://helpcenter.onlyoffice.com/integration/gettingstarted-nextcloud.aspx)
|
||||
> [Using ONLYOFFICE Docs behind the proxy](https://helpcenter.onlyoffice.com/installation/docs-community-proxy.aspx)
|
||||
|
Loading…
Reference in New Issue
Block a user