Skip to content

Commit

Permalink
Merge pull request #10642 from cody42/collabora-docker-installation-d…
Browse files Browse the repository at this point in the history
…ot-escaping

Collabora docker installation dot escaping
  • Loading branch information
szaimen authored Jun 26, 2023
2 parents e5744dc + 47ef985 commit ef5e64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin_manual/office/example-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ To install it the following dependencies are required:
Install the Collabora Online server
**************************************

The following steps will download the Collabora Online docker. Make sure to replace "cloud.example.com" with the host that your own Nextcloud runs on. Also make sure to escape all dots with double backslashes (`\\`), since this string will be evaluated as a regular expression (and your bash 'eats' the first backslash.) If you want to use the docker container with more than one Nextcloud, you'll need to use `domain=cloud\\.nextcloud\\.com\|second\\.nextcloud\\.com` instead. (All hosts are separated by `\|`.)
The following steps will download the Collabora Online docker. Make sure to replace "cloud.example.com" with the host that your own Nextcloud runs on. If you want to use the docker container with more than one Nextcloud, you can add another `-e aliasgroup2=https://cloud2.example.com:443`.

.. code-block:: bash
docker pull collabora/code
docker run -t -d -p 127.0.0.1:9980:9980 \
-e 'domain=cloud\\.example\\.com' \
-e 'aliasgroup1=https://cloud.example.com:443' \
--restart always \
--cap-add MKNOD \
collabora/code
Expand Down

0 comments on commit ef5e64c

Please sign in to comment.