Skip to content

Commit 10c747e

Browse files
Kraligorszaimen
authored andcommitted
Update server_tuning.rst to include example Imaginary Docker run command
Signed-off-by: Kraligor <[email protected]>
1 parent 7d32dd2 commit 10c747e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin_manual/installation/server_tuning.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ external microservice: `Imaginary <https://github.com/h2non/imaginary>`_.
213213
See https://github.com/nextcloud/server/issues/34262
214214

215215
We strongly recommend running our custom docker image that is more up to date than the official image.
216-
You can find the image at `https://ghcr.io/nextcloud-releases/aio-imaginary`.
216+
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 nextcloud/aio-imaginary:latest``.
217217

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

0 commit comments

Comments
 (0)