diff --git a/ocis/docker-compose.yml b/ocis/docker-compose.yml index b18836b..9537414 100644 --- a/ocis/docker-compose.yml +++ b/ocis/docker-compose.yml @@ -25,11 +25,27 @@ services: IDM_ADMIN_PASSWORD: "ReplaceWithYourSecurePassword" 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: - ocis_config:/etc/ocis - ocis_data:/var/lib/ocis networks: - 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: ocis_config: @@ -37,4 +53,4 @@ volumes: networks: caddy_net: - external: true \ No newline at end of file + external: true