Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update server_tuning.rst to include example Imaginary Docker run command #12459

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions admin_manual/installation/server_tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ external microservice: `Imaginary <https://github.com/h2non/imaginary>`_.
See https://github.com/nextcloud/server/issues/35643

We strongly recommend running our custom docker image that is more up to date than the official image.
You can find the image at `docker.io/nextcloud/aio-imaginary:latest`.
You can find the image at `docker.io/nextcloud/aio-imaginary:latest`. When running it, a port must be mapped by adding `-p <port>:9000` to the `docker run` command, e.g. ``docker run -d -p 9000:9000 --name nextcloud_imaginary --restart always nextcloud/aio-imaginary:latest``.

To do so, you will need to deploy the service and make sure that it is
not accessible from outside of your servers. Then you can configure
Expand All @@ -235,7 +235,7 @@ Nextcloud to use Imaginary by editing your `config.php`:
'OC\Preview\Krita',
'OC\Preview\Imaginary',
],
'preview_imaginary_url' => 'http://<url of imaginary>',
'preview_imaginary_url' => 'http://<url of imaginary>:<port>',

.. warning::

Expand Down