ONLYOFFICE / onlyoffice-owncloud

The app which enables the users to edit office documents from ownCloud using ONLYOFFICE Document Server, allows multiple users to collaborate in real time and to save back those changes to ownCloud
Apache License 2.0
301 stars 91 forks source link

ONLYOFFICE URL is not resolveable #480

Closed pthoelken closed 4 months ago

pthoelken commented 4 months ago

Hello ONLYOFFICE Team,

I'm running ownCloud with ONLYOFFICE in the same docker-compose.yml file. All fine. I've successful integrate ONLYOFFICE container into ownCloud instance in the settings / configuration tab (https:///settings/admin?sectionid=additional), but when I click on a document like .docx the Developertools shows me the following error.

image

So far so correct (bc my owncloud container is accessable from external only by nginxproxymanager), but which kind of configuration is missing here? onlyoffice-documentserver is the container name which is reachable from the owncloud container but logically not from the internet / external.

My cloud is reachable from external by nginxproxymanager with an public domain. This works pretty charm but I have the errors with the onlyoffice instance from above.

Can anyone help here?

igwyd commented 4 months ago

Hello @pthoelken, docker container DNS names work inside the docker network, and not work outside - You need an instance of ONLYOFFICE Docs that is resolvable and connectable both from ownCloud and any end clients. ONLYOFFICE Docs must be able to POST to ownCloud directly.. You can use reverse proxy and virtual path for onlyoffice, we have example for owncloud.

pthoelken commented 4 months ago

Thanks for your quick response @igwyd . Is there no security issue, when the onlyoffice instance is accessable from outside?

igwyd commented 4 months ago

We are constantly working to improve security our application. I recomend use JWT settings and you can enable IPfilter.