mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 09:53:13 +08:00
Compare commits
1 Commits
feat/imago
...
a22d51967e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a22d51967e |
44
.env.example
44
.env.example
@@ -10,28 +10,24 @@ INSECURE=true
|
|||||||
## Features ##
|
## Features ##
|
||||||
# The following variable is a convenience variable to enable or disable features of this compose project.
|
# The following variable is a convenience variable to enable or disable features of this compose project.
|
||||||
# Example: if you want to use traefik and letsencrypt, you can set the variable to
|
# Example: if you want to use traefik and letsencrypt, you can set the variable to
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:traefik/opencloud.yml
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:traefik/opencloud.yml
|
||||||
# This enables you to just run `docker compose up -d` and the compose files will be added to the stack.
|
# This enables you to just run `docker compose up -d` and the compose files will be added to the stack.
|
||||||
# As alternative approach you can run `docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -d`
|
# As alternative approach you can run `docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -d`
|
||||||
# Default: OpenCloud and Collabora with traefik and letsencypt
|
# Default: OpenCloud and Collabora with traefik and letsencypt
|
||||||
# This needs DNS entries for the domain names used in the .env file.
|
# This needs DNS entries for the domain names used in the .env file.
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
|
||||||
# If you want to use the external proxy, you can use the following combination.
|
# If you want to use the external proxy, you can use the following combination.
|
||||||
# DNS entries and certificates need to be managed by the external environment.
|
# DNS entries and certificates need to be managed by the external environment.
|
||||||
# The domain names need to be entered into the .env file.
|
# The domain names need to be entered into the .env file.
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
|
||||||
# Keycloak Shared User Directory
|
# Keycloak Shared User Directory
|
||||||
# Combined with thumbnails/imagor.yml this also needs EXCLUDE_ADDITIONAL_SERVICES, see below.
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
|
|
||||||
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
|
||||||
# External IDP
|
# External IDP
|
||||||
# Combined with thumbnails/imagor.yml this also needs EXCLUDE_ADDITIONAL_SERVICES, see below.
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/external-idp.yml
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/external-idp.yml
|
|
||||||
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
|
||||||
# Euro Office with traefik and letsencrypt
|
# Euro Office with traefik and letsencrypt
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml
|
||||||
# Euro Office with external proxy (Nginx, Caddy, etc.)
|
# Euro Office with external proxy (Nginx, Caddy, etc.)
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml
|
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml
|
||||||
|
|
||||||
## Traefik Settings ##
|
## Traefik Settings ##
|
||||||
# Note: Traefik is always enabled and can't be disabled.
|
# Note: Traefik is always enabled and can't be disabled.
|
||||||
@@ -197,17 +193,6 @@ SMTP_INSECURE=
|
|||||||
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
||||||
START_ADDITIONAL_SERVICES=""
|
START_ADDITIONAL_SERVICES=""
|
||||||
|
|
||||||
# Services that must not be started, comma separated.
|
|
||||||
# The compose files that replace a built-in service exclude it themselves, but docker
|
|
||||||
# compose only keeps the value of the last file in COMPOSE_FILE. When combining
|
|
||||||
# thumbnails/imagor.yml with idm/ldap-keycloak.yml or idm/external-idp.yml, list
|
|
||||||
# all of them here:
|
|
||||||
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
|
||||||
# Without it the order in COMPOSE_FILE decides. Keep thumbnails/imagor.yml before the
|
|
||||||
# idm file, as in the examples above: then only the idle built-in thumbnails service
|
|
||||||
# keeps running. The other way round idm and idp are started again, next to Keycloak
|
|
||||||
# or the external IdP.
|
|
||||||
|
|
||||||
|
|
||||||
## Default Enabled Services ##
|
## Default Enabled Services ##
|
||||||
|
|
||||||
@@ -229,25 +214,18 @@ TIKA_IMAGE=
|
|||||||
# imagor renders previews through libvips, which reads formats the built-in
|
# imagor renders previews through libvips, which reads formats the built-in
|
||||||
# generator does not, heic, heif and avif among them.
|
# generator does not, heic, heif and avif among them.
|
||||||
# Needs OpenCloud 9.0.0 or newer.
|
# Needs OpenCloud 9.0.0 or newer.
|
||||||
# Enable it by adding thumbnails/imagor.yml to the COMPOSE_FILE variable, which all
|
# Enable it by adding thumbnails/imagor.yml to the COMPOSE_FILE variable or by
|
||||||
# examples above do, or by using the following command:
|
# using the following command:
|
||||||
# docker compose -f docker-compose.yml -f thumbnails/imagor.yml up -d
|
# docker compose -f docker-compose.yml -f thumbnails/imagor.yml up -d
|
||||||
# imagor then makes all thumbnails and the built-in thumbnails service is not started.
|
|
||||||
# Docker image to use for the imagor container. Defaults to "shumc/imagor".
|
# Docker image to use for the imagor container. Defaults to "shumc/imagor".
|
||||||
# "ghcr.io/cshum/imagor-magick" adds ImageMagick for formats libvips does not read,
|
# "ghcr.io/cshum/imagor-magick" adds ImageMagick for formats libvips does not read,
|
||||||
# PSD, XCF and BMP among them. Slower, more memory and a larger attack surface,
|
# PSD, XCF and BMP among them. Slower, more memory and a larger attack surface,
|
||||||
# imagor recommends the standard image for most setups.
|
# imagor recommends the standard image for most setups.
|
||||||
#IMAGOR_DOCKER_IMAGE=
|
#IMAGOR_DOCKER_IMAGE=
|
||||||
# Docker tag to pull for the imagor container. Defaults to "1.10.4".
|
# Docker tag to pull for the imagor container. Defaults to "1.9.14".
|
||||||
#IMAGOR_DOCKER_TAG=
|
#IMAGOR_DOCKER_TAG=
|
||||||
# Largest source image a thumbnail is made of, in bytes. Used by OpenCloud and imagor,
|
# Largest source image imagor accepts, in bytes. Defaults to "50000000".
|
||||||
# so both refuse the same files. Defaults to "50000000".
|
|
||||||
#IMAGOR_MAX_SOURCE_SIZE=
|
#IMAGOR_MAX_SOURCE_SIZE=
|
||||||
# Largest width, height and number of animation frames of a source image.
|
|
||||||
# Default to "7680", "7680" and "100", the limits of the built-in thumbnails service.
|
|
||||||
#IMAGOR_MAX_WIDTH=
|
|
||||||
#IMAGOR_MAX_HEIGHT=
|
|
||||||
#IMAGOR_MAX_ANIMATION_FRAMES=
|
|
||||||
# Mime types previews are announced and attempted for on top of the built-in list,
|
# Mime types previews are announced and attempted for on top of the built-in list,
|
||||||
# comma separated. A type imagor cannot read answers 404.
|
# comma separated. A type imagor cannot read answers 404.
|
||||||
# Defaults to "image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence".
|
# Defaults to "image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence".
|
||||||
|
|||||||
@@ -216,11 +216,8 @@ This setup includes:
|
|||||||
- imagor as the preview generator OpenCloud posts source images to
|
- imagor as the preview generator OpenCloud posts source images to
|
||||||
- Previews for heic, heif and avif files, including image sequences, in the file list and the preview app
|
- Previews for heic, heif and avif files, including image sequences, in the file list and the preview app
|
||||||
- imagor on an internal network without a route to the outside, with a read-only filesystem and no capabilities
|
- imagor on an internal network without a route to the outside, with a read-only filesystem and no capabilities
|
||||||
- imagor makes all thumbnails, the built-in thumbnails service is not started
|
|
||||||
|
|
||||||
Set `THUMBNAILS_ADDITIONAL_SOURCE_TYPES` in `.env` to announce previews for further formats imagor reads. All `COMPOSE_FILE` examples in `.env.example` include `thumbnails/imagor.yml`.
|
Set `THUMBNAILS_ADDITIONAL_SOURCE_TYPES` in `.env` to announce previews for further formats imagor reads.
|
||||||
|
|
||||||
`thumbnails/imagor.yml` and the `idm/` files each set `OC_EXCLUDE_RUN_SERVICES`, and docker compose only keeps the value of the last file. When combining them, set `EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails` in `.env`. Without it the order in `COMPOSE_FILE` decides, so keep `thumbnails/imagor.yml` before the `idm/` file: then only the idle built-in thumbnails service keeps running. The other way round idm and idp are started again next to Keycloak or the external IdP.
|
|
||||||
|
|
||||||
**ImageMagick Variant:**
|
**ImageMagick Variant:**
|
||||||
libvips does not read PSD, XCF, BMP and some legacy formats. The `ghcr.io/cshum/imagor-magick` image adds ImageMagick for those. It is slower, needs more memory and widens the attack surface, so imagor recommends the standard image for most setups. To use it anyway, set `IMAGOR_DOCKER_IMAGE=ghcr.io/cshum/imagor-magick` in your `.env` file and add the mime types to `THUMBNAILS_ADDITIONAL_SOURCE_TYPES`.
|
libvips does not read PSD, XCF, BMP and some legacy formats. The `ghcr.io/cshum/imagor-magick` image adds ImageMagick for those. It is slower, needs more memory and widens the attack surface, so imagor recommends the standard image for most setups. To use it anyway, set `IMAGOR_DOCKER_IMAGE=ghcr.io/cshum/imagor-magick` in your `.env` file and add the mime types to `THUMBNAILS_ADDITIONAL_SOURCE_TYPES`.
|
||||||
@@ -453,8 +450,7 @@ Key variables:
|
|||||||
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
|
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
|
||||||
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
|
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
|
||||||
| `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor |
|
| `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor |
|
||||||
| `IMAGOR_DOCKER_TAG` | imagor Docker tag | 1.10.4 |
|
| `IMAGOR_DOCKER_TAG` | imagor Docker tag | 1.9.14 |
|
||||||
| `EXCLUDE_ADDITIONAL_SERVICES` | Services not to start, see imagor and idm sections | (no value) |
|
|
||||||
| `KEYCLOAK_DOMAIN` | Keycloak domain | keycloak.opencloud.test |
|
| `KEYCLOAK_DOMAIN` | Keycloak domain | keycloak.opencloud.test |
|
||||||
| `KEYCLOAK_ADMIN` | Keycloak admin username | kcadmin |
|
| `KEYCLOAK_ADMIN` | Keycloak admin username | kcadmin |
|
||||||
| `KEYCLOAK_ADMIN_PASSWORD` | Keycloak admin password | admin |
|
| `KEYCLOAK_ADMIN_PASSWORD` | Keycloak admin password | admin |
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
services:
|
services:
|
||||||
opencloud:
|
opencloud:
|
||||||
# renovate: depName=opencloudeu/opencloud-rolling
|
# renovate: depName=opencloudeu/opencloud-rolling
|
||||||
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.1.0}
|
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.0.0}
|
||||||
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
||||||
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
||||||
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
||||||
@@ -58,14 +58,6 @@ services:
|
|||||||
OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"
|
OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"
|
||||||
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
|
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
|
||||||
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
||||||
# Opencloud sets a maximum size for GRPC requests. Having a large amount of file per directory
|
|
||||||
# can exceed these limits resulting in internal server errors and log messages like:
|
|
||||||
#
|
|
||||||
# grpc: received message larger than max (X vs. 10240000)
|
|
||||||
#
|
|
||||||
# with X being a number larger than 10240000. You can set a custom limit, for example 20480000.
|
|
||||||
# Keep in mind that doubling the GRPC_MAX_RECEIVED_MESSAGE_SIZE limit may also double your peak RAM usage.
|
|
||||||
OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE:
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
|
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
|
||||||
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml
|
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml
|
||||||
|
|||||||
@@ -28,9 +28,7 @@ services:
|
|||||||
PROXY_ROLE_ASSIGNMENT_DRIVER: ${PROXY_ROLE_ASSIGNMENT_DRIVER:-oidc}
|
PROXY_ROLE_ASSIGNMENT_DRIVER: ${PROXY_ROLE_ASSIGNMENT_DRIVER:-oidc}
|
||||||
OC_OIDC_ISSUER: ${IDP_ISSUER_URL:-https://keycloak.opencloud.test/realms/openCloud}
|
OC_OIDC_ISSUER: ${IDP_ISSUER_URL:-https://keycloak.opencloud.test/realms/openCloud}
|
||||||
# This specifies to start all services except idm and idp. These are replaced by external services.
|
# This specifies to start all services except idm and idp. These are replaced by external services.
|
||||||
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
|
OC_EXCLUDE_RUN_SERVICES: idm,idp
|
||||||
# thumbnails/imagor.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
|
|
||||||
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}idm,idp
|
|
||||||
# IdP specific configuration for auto-provisioning
|
# IdP specific configuration for auto-provisioning
|
||||||
OC_LDAP_SERVER_WRITE_ENABLED: "true"
|
OC_LDAP_SERVER_WRITE_ENABLED: "true"
|
||||||
PROXY_AUTOPROVISION_ACCOUNTS: "true"
|
PROXY_AUTOPROVISION_ACCOUNTS: "true"
|
||||||
|
|||||||
@@ -19,9 +19,7 @@ services:
|
|||||||
FRONTEND_READONLY_USER_ATTRIBUTES: "user.onPremisesSamAccountName,user.displayName,user.mail,user.passwordProfile,user.accountEnabled,user.appRoleAssignments"
|
FRONTEND_READONLY_USER_ATTRIBUTES: "user.onPremisesSamAccountName,user.displayName,user.mail,user.passwordProfile,user.accountEnabled,user.appRoleAssignments"
|
||||||
OC_LDAP_SERVER_WRITE_ENABLED: "false" # the ldap is managed by Keycloak, so it is not writable by OpenCloud
|
OC_LDAP_SERVER_WRITE_ENABLED: "false" # the ldap is managed by Keycloak, so it is not writable by OpenCloud
|
||||||
# This specifies to start all services except idm and idp. These are replaced by external services.
|
# This specifies to start all services except idm and idp. These are replaced by external services.
|
||||||
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
|
OC_EXCLUDE_RUN_SERVICES: idm,idp
|
||||||
# thumbnails/imagor.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
|
|
||||||
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}idm,idp
|
|
||||||
# Keycloak IDP specific configuration
|
# Keycloak IDP specific configuration
|
||||||
PROXY_AUTOPROVISION_ACCOUNTS: "false"
|
PROXY_AUTOPROVISION_ACCOUNTS: "false"
|
||||||
PROXY_ROLE_ASSIGNMENT_DRIVER: "oidc"
|
PROXY_ROLE_ASSIGNMENT_DRIVER: "oidc"
|
||||||
@@ -66,7 +64,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17.12-alpine
|
image: postgres:17.11-alpine
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
volumes:
|
volumes:
|
||||||
@@ -80,7 +78,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:26.8.2
|
image: quay.io/keycloak/keycloak:26.8.1
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17.12-alpine
|
image: postgres:17.11-alpine
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
volumes:
|
volumes:
|
||||||
@@ -15,7 +15,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:26.8.2
|
image: quay.io/keycloak/keycloak:26.8.1
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
||||||
|
|||||||
@@ -2,17 +2,15 @@
|
|||||||
services:
|
services:
|
||||||
imagor:
|
imagor:
|
||||||
# renovate: depName=shumc/imagor
|
# renovate: depName=shumc/imagor
|
||||||
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.4}
|
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.9.14}
|
||||||
environment:
|
environment:
|
||||||
IMAGOR_UNSAFE: "true"
|
IMAGOR_UNSAFE: "true"
|
||||||
UPLOAD_LOADER_ENABLE: "true"
|
UPLOAD_LOADER_ENABLE: "true"
|
||||||
# quoted, an unquoted large number reaches imagor as 5e+07 which it cannot parse
|
UPLOAD_LOADER_MAX_ALLOWED_SIZE: ${IMAGOR_MAX_SOURCE_SIZE:-50000000}
|
||||||
UPLOAD_LOADER_MAX_ALLOWED_SIZE: "${IMAGOR_MAX_SOURCE_SIZE:-50000000}"
|
|
||||||
HTTP_LOADER_DISABLE: "true"
|
HTTP_LOADER_DISABLE: "true"
|
||||||
# the limits of the built-in thumbnails service
|
VIPS_MAX_WIDTH: "7680"
|
||||||
VIPS_MAX_WIDTH: "${IMAGOR_MAX_WIDTH:-7680}"
|
VIPS_MAX_HEIGHT: "7680"
|
||||||
VIPS_MAX_HEIGHT: "${IMAGOR_MAX_HEIGHT:-7680}"
|
VIPS_MAX_ANIMATION_FRAMES: "100"
|
||||||
VIPS_MAX_ANIMATION_FRAMES: "${IMAGOR_MAX_ANIMATION_FRAMES:-100}"
|
|
||||||
networks:
|
networks:
|
||||||
imagor-net:
|
imagor-net:
|
||||||
read_only: true
|
read_only: true
|
||||||
@@ -36,12 +34,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
WEBDAV_THUMBNAILS_GENERATOR_URL: http://imagor:8000
|
WEBDAV_THUMBNAILS_GENERATOR_URL: http://imagor:8000
|
||||||
OC_THUMBNAILS_ADDITIONAL_SOURCE_TYPES: ${THUMBNAILS_ADDITIONAL_SOURCE_TYPES:-image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence}
|
OC_THUMBNAILS_ADDITIONAL_SOURCE_TYPES: ${THUMBNAILS_ADDITIONAL_SOURCE_TYPES:-image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence}
|
||||||
# in bytes, the same value is handed to imagor above so both refuse the same files
|
|
||||||
OC_THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE: "${IMAGOR_MAX_SOURCE_SIZE:-50000000}"
|
|
||||||
# the built-in thumbnails service is not needed when imagor makes the thumbnails
|
|
||||||
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
|
|
||||||
# idm/ldap-keycloak.yml or idm/external-idp.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
|
|
||||||
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}thumbnails
|
|
||||||
networks:
|
networks:
|
||||||
imagor-net:
|
imagor-net:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ services:
|
|||||||
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
|
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
|
||||||
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v3.7.19
|
image: traefik:v3.7.16
|
||||||
# release notes: https://github.com/traefik/traefik/releases
|
# release notes: https://github.com/traefik/traefik/releases
|
||||||
user: ${TRAEFIK_CONTAINER_UID_GID:-0:0}
|
user: ${TRAEFIK_CONTAINER_UID_GID:-0:0}
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user