Für das Rendern Vorschaubildern wurde ein Runtime-Image bereitgestellt. Die dazu gehörigen Delegates werden hier beschrieben.
registry.brandbox.host/brandbox-product/runtime/image-processing:latest1.0.0
Enthaltene Software
Software | Version |
---|
Python | 3.9 |
flask | 2.3 |
Imagemagick | 6.9 |
Ghostscript | 9.53 |
Libreoffice | 7.0 |
ffmpeg | 4.3 |
libpodofo-utils | - |
exiftool | - |
...
Codeblock |
---|
|
image-processing:
image: registry.brandbox.host/runtime/image-processing:1.0.0
volumes:
- /mnt/nfsstorage/${COMPOSE_PROJECT_NAME}/temp:/var/www/temp/
- /mnt/nfsstorage/${COMPOSE_PROJECT_NAME}/share:/var/www/share/
env_file:
- brandbox.docker.env
networks:
internal:
aliases:
- image-processing.${COMPOSE_PROJECT_NAME}
ports:
- "9424:8080"
expose:
- "8080" |
Folgende Umgebungsvariablen müssen gesetzt werden (brandbox.docker.env):
Umgebungsvariable | Wert |
---|
IMAGE_PROCESSING_HOST | image-processing.$COMPOSE_PROJECT_NAME.local.brandbox.de NAME (wie in docker-compose.yml definiert) |
IMAGE_PROCESSING_PROTOCOL | http |
IMAGE_PROCESSING_PORT | 94248080 |
Codeblock |
---|
IMAGE_PROCESSING_HOST=image-processing.$COMPOSE_PROJECT_NAME.local.brandbox.de
IMAGE_PROCESSING_PROTOCOL=http
IMAGE_PROCESSING_PORT=94248080 |
Cluster-Konfiguration (Kubernetes)
...
Umgebungsvariable | Wert |
---|
IMAGE_PROCESSING_HOST | image-processing:8080 |
IMAGE_PROCESSING_PROTOCOL | http |
IMAGE_PROCESSING_PORT | 94248080 |