From 9b6a1cc8ae41807e98f9c4155b6241d3f1f7e470 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 16 Nov 2020 22:16:34 +0100 Subject: Send images to imaginary docker to generate previews Signed-off-by: Carl Schwan Co-Authored-by: Vincent Petry --- config/config.sample.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/config.sample.php') 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 @@ -1101,6 +1101,14 @@ $CONFIG = [ ' --headless --nologo --nofirststartwizard --invisible --norestore '. '--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 * -- cgit v1.2.3