Add imaginary for heic thumbnail support
This commit is contained in:
+17
-1
@@ -25,11 +25,27 @@ services:
|
|||||||
IDM_ADMIN_PASSWORD: "ReplaceWithYourSecurePassword"
|
IDM_ADMIN_PASSWORD: "ReplaceWithYourSecurePassword"
|
||||||
|
|
||||||
OCIS_LOG_LEVEL: error
|
OCIS_LOG_LEVEL: error
|
||||||
|
|
||||||
|
# --- Thumbnail & HEIC Configuration ---
|
||||||
|
THUMBNAILS_IMAGINARY_URL: http://imaginary:9000
|
||||||
|
# Force HEIC to process through imaginary instead of built-in fallback
|
||||||
|
THUMBNAILS_RESOLUTION_MIN_WIDTH: 32
|
||||||
|
THUMBNAILS_RESOLUTION_MIN_HEIGHT: 32
|
||||||
volumes:
|
volumes:
|
||||||
- ocis_config:/etc/ocis
|
- ocis_config:/etc/ocis
|
||||||
- ocis_data:/var/lib/ocis
|
- ocis_data:/var/lib/ocis
|
||||||
networks:
|
networks:
|
||||||
- caddy_net
|
- caddy_net
|
||||||
|
depends_on:
|
||||||
|
- imaginary
|
||||||
|
|
||||||
|
imaginary:
|
||||||
|
image: h2non/imaginary:latest
|
||||||
|
container_name: ocis_imaginary
|
||||||
|
restart: unless-stopped
|
||||||
|
command: -cors -gzip -enable-url-source
|
||||||
|
networks:
|
||||||
|
- caddy_net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ocis_config:
|
ocis_config:
|
||||||
@@ -37,4 +53,4 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
caddy_net:
|
caddy_net:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user