Files
opencloud-compose/idm
Jörn Friedrich Dreyer dd58b4a9a2 add imagor as thumbnail generator
thumbnails/imagor.yml runs ghcr.io/cshum/imagor-magick and points
WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in thumbnails service
is no longer started, it is going to lose libvips and with it most
formats. All COMPOSE_FILE examples include the new file.

imagor only gets unsigned /unsafe/ URLs from webdav, so it must only be
reachable on opencloud-net. It is configured with the same limits as
the built-in service and only accepts uploads, it never fetches URLs.

On top of the built-in list we announce previews for heic, heif, avif,
jp2, psd, tga, pcx, svg and ico. I checked each against a running
stack. pdf is read by imagor, but webdav 9.0.0 only passes image types
to the generator. jxl ends up as application/octet-stream in reva, so
it would need a mime mapping first.

OC_EXCLUDE_RUN_SERVICES is now set by imagor.yml and the idm files, and
compose keeps only the value of the last file. Each file prepends the
new EXCLUDE_ADDITIONAL_SERVICES, so combining them works when it lists
all of them: EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails

related: https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-09 16:20:41 +01:00
..