| 68 | | == Collabora online == |
| 69 | | |
| 70 | | NOTE: The collabora editor is probably going to be deprecated in favor of onlyoffice. |
| 71 | | |
| 72 | | For the richtext editor to work, we have to have Collabora Online installed. Fortunately it can be installed as a docker image. |
| 73 | | |
| 74 | | The docker service is installed and managed via puppet (m_docker.pp). |
| 75 | | |
| 76 | | We are loosely following [https://icewind.nl/entry/collabora-online/ these instructions for installation with nginx] (that page includes an nginx configuration file). They depend on a [https://hub.docker.com/r/collabora/code/ collabora-code docker image], which has a [https://github.com/CollaboraOnline/Docker-CODE Docker file that lives on github]. Rather than pull in their unverified docker image, I have forked their Docker file (git://git.mayfirst.org/mfpl/collabora-code), with instructions on how to build it from scratch. |
| 77 | | |
| 78 | | On lucius it should be installed via puppet and found in: |
| 79 | | |
| 80 | | {{{ |
| 81 | | /usr/local/share/collabora-code |
| 82 | | }}} |
| 83 | | |
| 84 | | See the README.mfpl.md for directions on installing and upgrading the docker images. |
| 85 | | |
| 86 | | Our code is in the mfpl branch. |
| 87 | | |
| 88 | | To pull in the latest version from github, perform the following on your workstation: |
| 89 | | |
| 90 | | * Checkout both the upstream and mfpl code |
| 91 | | * Rebase the master branch under the mfpl branch |
| 92 | | * Push the mfpl branch to git.mayfirst.org |
| 93 | | * Pull it onto lucius |
| 94 | | |
| 95 | | === Restarting Collabora container === |
| 96 | | You can restart with: |
| 97 | | {{{ |
| 98 | | docker stop nextcloud-collabora |
| 99 | | docker start nextcloud-collabora |
| 100 | | }}} |
| 101 | | |
| 102 | | You can also see running docker instances with: |
| 103 | | {{{ |
| 104 | | docker ps |
| 105 | | }}} |