meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sw:nextcloud:office:onlyoffice [2020/11/26 17:25] – created niziak | sw:nextcloud:office:onlyoffice [2025/07/15 19:01] (current) – niziak | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * NextCloud app is on https:// | * NextCloud app is on https:// | ||
| * OnlyOffice app is on https:// | * OnlyOffice app is on https:// | ||
| + | |||
| + | ===== References ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== NGINX config ===== | ===== NGINX config ===== | ||
| Line 49: | Line 56: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | Based on hints from: [[https:// | ||
| + | |||
| + | ===== docker-compose ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| Line 55: | Line 69: | ||
| * as TCP:3077 on Docker host (rev proxied by NGINX ) | * as TCP:3077 on Docker host (rev proxied by NGINX ) | ||
| + | ==== Test OnlyOffice server ==== | ||
| + | Web page should be shown on link: [[https:// | ||
| + | |||
| + | |||
| + | ===== NextCloud ===== | ||
| + | Install and enable `OnlyOffice` plugin. | ||
| + | |||
| + | Configure it as follows: | ||
| + | <code bash> | ||
| + | ### Trusted domain | ||
| + | ./occ config: | ||
| + | |||
| + | # Put correct indexes in commands below: | ||
| + | ./occ config: | ||
| + | |||
| + | # NC http port is exposed from Docker to host port 3007 | ||
| + | ./occ config: | ||
| + | |||
| + | ### OnlyOffice config | ||
| + | # OnlyOffice server URL: | ||
| + | ./occ config: | ||
| + | # How OnlyOffice can reach NC: | ||
| + | ./occ config: | ||
| + | # NOTE; it is possible to put external URL like above, but NC can communicate directly inside private Docker network | ||
| + | ./occ config: | ||
| + | |||
| + | # And permit NC to communicate with local addresses | ||
| + | # Without this you can got error: Error when trying to connect (Host violates local access rules) | ||
| + | ./occ config: | ||
| + | </ | ||