aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.sample.php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-11-16 22:16:34 +0100
committerJulius Härtl <jus@bitgrid.net>2022-03-17 08:24:07 +0100
commit9b6a1cc8ae41807e98f9c4155b6241d3f1f7e470 (patch)
treed12fa75ce3b16519a01cd8c06ec998b0acf86d81 /config/config.sample.php
parent4cdc8900f7325d38056060b355e8f25b79b96413 (diff)
downloadnextcloud-server-9b6a1cc8ae41807e98f9c4155b6241d3f1f7e470.tar.gz
nextcloud-server-9b6a1cc8ae41807e98f9c4155b6241d3f1f7e470.zip
Send images to imaginary docker to generate previews
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index f861df2a7ce..5bc1cc52cf0 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1102,6 +1102,14 @@ $CONFIG = [
'--convert-to png --outdir ',
/**
+ * Set the URL of the Imaginary service to send image previews to.
+ * Also requires the OC\Preview\Imaginary provider to be enabled.
+ *
+ * See https://github.com/h2non/imaginary
+ */
+'preview_imaginary_url' => 'http://previews_hpb:8088/',
+
+/**
* Only register providers that have been explicitly enabled
*
* The following providers are disabled by default due to performance or privacy