Merge pull request #12459 from Kraligor/patch-2

Update server_tuning.rst to include example Imaginary Docker run command
This commit is contained in:
Simon L. 2025-05-13 21:35:10 +02:00 committed by GitHub
commit 5e40a2b27a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,7 +213,7 @@ external microservice: `Imaginary <https://github.com/h2non/imaginary>`_.
See https://github.com/nextcloud/server/issues/34262
We strongly recommend running our custom docker image that is more up to date than the official image.
You can find the image at `https://ghcr.io/nextcloud-releases/aio-imaginary`.
You can find the image at `https://ghcr.io/nextcloud-releases/aio-imaginary`. 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 ghcr.io/nextcloud-releases/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
@ -230,7 +230,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::