Compare commits

..

16 Commits

Author SHA1 Message Date
renovate[bot]
05511901a3 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.2 2026-11-06 06:46:51 +00:00
Viktor Scharf
f2e4e0999f Merge pull request #417 from opencloud-eu/fix/monitoring-stack
fix: remove unnecessary monitoring config file
2026-11-06 07:46:09 +01:00
Saw-jan
130dd6d6f6 fix: remove unnecessary monitoring config file
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-11-06 12:09:23 +05:45
Viktor Scharf
d30f58b8bf Merge pull request #415 from opencloud-eu/life-photo-adjust
Add 'blob:' to media-src directives for live photo
2026-11-04 11:56:07 +01:00
Viktor Scharf
cc36787927 Add 'blob:' to media-src and object-src directives for live photo 2026-11-04 11:01:03 +01:00
Jannik Stehle
ddbb854172 Merge pull request #414 from opencloud-eu/fix/euro-office-odp-creation
fix: allow creating odp instead of odg with euro-office
2026-11-02 14:51:23 +01:00
Jannik Stehle
84ac4eaf63 fix: allow creating odp instead of odg with euro-office 2026-11-02 09:05:16 +01:00
Alex
91911a5883 fix: tell traefik which network to reach opencloud through (#411)
* fix: tell traefik which network to reach opencloud through with imagor

* fix: drop the comment

* fix: set the traefik network on the opencloud service itself
2026-10-27 17:18:42 +01:00
Viktor Scharf
167db12b17 Merge pull request #410 from opencloud-eu/renovate/main-opencloudeu-opencloud-rolling-9.x
chore(deps): update opencloudeu/opencloud-rolling docker tag to v9 (main)
2026-10-27 16:54:53 +01:00
renovate[bot]
07ddf43180 chore(deps): update opencloudeu/opencloud-rolling docker tag to v9 2026-10-27 15:52:55 +00:00
renovate[bot]
481cd8061c chore(deps): update opencloudeu/yjs docker tag to v1.1.1 (#408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:47:38 +01:00
renovate[bot]
28348eec54 chore(deps): update collabora/code docker tag to v26.04.5.2.1 (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:46:49 +01:00
renovate[bot]
719633aeda chore(deps): update traefik docker tag to v3.7.16 (#403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:46:28 +01:00
renovate[bot]
d7f0118adb chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.1 (#402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:46:05 +01:00
Viktor Scharf
b1588f2318 feat: add OC_ENABLE_GUEST_LINKS setting (#409)
Guest links are disabled by default in OpenCloud 9. Expose the switch in
docker-compose.yml and document in .env.example that the feature needs the
notifications service with SMTP and, on existing installations, the
auth-guest service account from 'opencloud init --diff'.
2026-10-27 15:45:29 +01:00
Dominik Schmidt
c5c3fbdb89 feat: add an imagor module for heic, heif and avif previews (#407)
imagor runs on an internal network, the webdav service points at it as the
preview generator, and the three formats plus their sequence types are
announced, so previews show up in the file list and the preview app. The
OpenCloud image ships no libheif on purpose, so its own generator refuses
them. Documented in README and .env.example, image tag pinned and tracked by
renovate. Needs OpenCloud 9.0.0 or newer.
2026-10-27 15:44:22 +01:00
13 changed files with 121 additions and 16 deletions

View File

@@ -210,6 +210,27 @@ START_ADDITIONAL_SERVICES=""
# like advanced OCR or specific image processing capabilities.
TIKA_IMAGE=
### imagor Preview Generator ###
# imagor renders previews through libvips, which reads formats the built-in
# generator does not, heic, heif and avif among them.
# Needs OpenCloud 9.0.0 or newer.
# Enable it by adding thumbnails/imagor.yml to the COMPOSE_FILE variable or by
# using the following command:
# docker compose -f docker-compose.yml -f thumbnails/imagor.yml up -d
# 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,
# PSD, XCF and BMP among them. Slower, more memory and a larger attack surface,
# imagor recommends the standard image for most setups.
#IMAGOR_DOCKER_IMAGE=
# Docker tag to pull for the imagor container. Defaults to "1.9.14".
#IMAGOR_DOCKER_TAG=
# Largest source image imagor accepts, in bytes. Defaults to "50000000".
#IMAGOR_MAX_SOURCE_SIZE=
# Mime types previews are announced and attempted for on top of the built-in list,
# comma separated. A type imagor cannot read answers 404.
# Defaults to "image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence".
#THUMBNAILS_ADDITIONAL_SOURCE_TYPES=
### IMPORTANT Note for Online Office Apps ###
# To avoid app interlocking issues, you should select only one app to be active/configured.
# This is due the fact that there is currently no app interlocking for the same file and one
@@ -400,6 +421,17 @@ KC_DB_PASSWORD=
# Keep it below the stop_grace_period set in yjs/yjs.yml.
#YJS_SHUTDOWN_GRACE_PERIOD_MS=
### Guest Links Settings ###
# Guest links let users share files with an email address that has no account.
# The guest gets the link and later a PIN by email, so this needs a working
# notifications service: add "notifications" to START_ADDITIONAL_SERVICES and
# set at least SMTP_HOST, SMTP_PORT and SMTP_SENDER in the SMTP settings above.
# Existing installations: add the auth-guest service account to the config by
# running "opencloud init --diff" and applying the patch it writes to
# /etc/opencloud/opencloud.config.patch.
# Defaults to "false"
#OC_ENABLE_GUEST_LINKS=true
### Radicale Setting ###
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated

View File

@@ -15,6 +15,7 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
- **Euro Office** integration for document editing
- **Keycloak and LDAP** integration for centralized identity management
- **Full text search** with Apache Tika for content extraction and metadata analysis
- **HEIC, HEIF and AVIF previews** with imagor
- **Monitoring** with metrics endpoints for observability and performance monitoring
- **Radicale** integration for Calendar and Contacts
- **ClamAV** antivirus scanning with ClamAV
@@ -195,6 +196,32 @@ By default, OpenCloud Compose uses `apache/tika:latest` which provides:
The base variant is recommended for most use cases. If you need advanced features like specialized OCR processing or specific image format support, you can override the image by setting `TIKA_IMAGE=apache/tika:latest-full` in your `.env` file.
### With imagor Previews
The OpenCloud image ships no libheif on purpose, so a heic, heif or avif is refused with `406 unreadable image`. imagor reads those formats. Enable it using either method:
> **Version Requirement**: This setup needs OpenCloud 9.0.0 or newer.
Using `-f` flags:
```bash
docker compose -f docker-compose.yml -f thumbnails/imagor.yml -f traefik/opencloud.yml up -d
```
Or by setting in `.env`:
```
COMPOSE_FILE=docker-compose.yml:thumbnails/imagor.yml:traefik/opencloud.yml
```
This setup includes:
- 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
- imagor on an internal network without a route to the outside, with a read-only filesystem and no capabilities
Set `THUMBNAILS_ADDITIONAL_SOURCE_TYPES` in `.env` to announce previews for further formats imagor reads.
**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`.
### With the Yjs Server
The yjs server enables collaborative editing of files. The browser connects to `wss://{OC_DOMAIN}/yjs`. The OpenCloud proxy forwards this route to the yjs container, so no extra DNS entry or port is needed.
@@ -422,6 +449,8 @@ Key variables:
| `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver |
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
| `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor |
| `IMAGOR_DOCKER_TAG` | imagor Docker tag | 1.9.14 |
| `KEYCLOAK_DOMAIN` | Keycloak domain | keycloak.opencloud.test |
| `KEYCLOAK_ADMIN` | Keycloak admin username | kcadmin |
| `KEYCLOAK_ADMIN_PASSWORD` | Keycloak admin password | admin |
@@ -477,6 +506,7 @@ This repository uses a modular approach with multiple compose files:
- `weboffice/` - Web office integrations (Collabora Online)
- `storage/` - Storage backend configurations (decomposeds3)
- `search/` - Search and content analysis services (Apache Tika)
- `thumbnails/` - Preview generator (imagor)
- `monitoring/` - Monitoring and metrics configurations
- `idm/` - Identity management configurations (Keycloak & LDAP)
- `traefik/` - Traefik reverse proxy configurations

View File

@@ -27,13 +27,14 @@ app_registry:
description: OpenDocument presentation document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.graphics
extension: odg
name: OpenGraphics
description: OpenDocument graphics document
icon: ''
default_app: Collabora
allow_creation: true
allow_creation: false
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
extension: docx
name: Microsoft Word

View File

@@ -7,7 +7,6 @@ directives:
- 'https://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
- 'wss://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
- 'https://api.github.com/'
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
- 'https://update.opencloud.eu/'
- 'https://tile.openstreetmap.org/'
@@ -40,6 +39,7 @@ directives:
- '''self'''
media-src:
- '''self'''
- 'blob:'
object-src:
- '''self'''
- 'blob:'

View File

@@ -2,7 +2,7 @@
services:
opencloud:
# renovate: depName=opencloudeu/opencloud-rolling
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-8.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
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
user: ${OC_CONTAINER_UID_GID:-1000:1000}
@@ -54,6 +54,8 @@ services:
OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}"
OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}"
OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}"
# guest links
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)
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
volumes:

View File

@@ -78,7 +78,7 @@ services:
restart: always
keycloak:
image: quay.io/keycloak/keycloak:26.8.0
image: quay.io/keycloak/keycloak:26.8.2
networks:
opencloud-net:
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]

View File

@@ -1,7 +0,0 @@
---
services:
collaboration:
environment:
# metrics
COLLABORATION_DEBUG_ADDR: 0.0.0.0:9304

View File

@@ -34,7 +34,8 @@
"managerFilePatterns": [
"/^docker-compose\\.yml$/",
"/^weboffice\\/collabora\\.yml$/",
"/^yjs\\/yjs\\.yml$/"
"/^yjs\\/yjs\\.yml$/",
"/^thumbnails\\/imagor\\.yml$/"
],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+)\\n\\s+image: \\$\\{[^}]+\\}:\\$\\{[^}]+-(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\}"

View File

@@ -15,7 +15,7 @@ services:
restart: always
keycloak:
image: quay.io/keycloak/keycloak:26.8.0
image: quay.io/keycloak/keycloak:26.8.2
networks:
opencloud-net:
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]

45
thumbnails/imagor.yml Normal file
View File

@@ -0,0 +1,45 @@
---
services:
imagor:
# renovate: depName=shumc/imagor
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.9.14}
environment:
IMAGOR_UNSAFE: "true"
UPLOAD_LOADER_ENABLE: "true"
UPLOAD_LOADER_MAX_ALLOWED_SIZE: ${IMAGOR_MAX_SOURCE_SIZE:-50000000}
HTTP_LOADER_DISABLE: "true"
VIPS_MAX_WIDTH: "7680"
VIPS_MAX_HEIGHT: "7680"
VIPS_MAX_ANIMATION_FRAMES: "100"
networks:
imagor-net:
read_only: true
tmpfs:
- /tmp:size=256m
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
restart: always
logging:
driver: ${LOG_DRIVER:-local}
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:8000/healthcheck"]
interval: 5s
timeout: 5s
retries: 10
start_period: 5s
opencloud:
environment:
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}
networks:
imagor-net:
depends_on:
imagor:
condition: service_healthy
networks:
imagor-net:
internal: true

View File

@@ -3,6 +3,7 @@ services:
opencloud:
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_opencloud-net"
# define middleware here, to make sure its loaded with the first defined container (opencloud)
# if defined in the traefik container with a disabled dashboard it won't be loaded fast enough
- "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000"
@@ -16,7 +17,7 @@ services:
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
traefik:
image: traefik:v3.7.14
image: traefik:v3.7.16
# release notes: https://github.com/traefik/traefik/releases
user: ${TRAEFIK_CONTAINER_UID_GID:-0:0}
networks:

View File

@@ -50,7 +50,7 @@ services:
restart: "no"
collabora:
image: collabora/code:26.04.5.1.1
image: collabora/code:26.04.5.2.1
# release notes: https://www.collaboraonline.com/release-notes/
networks:
opencloud-net:

View File

@@ -8,7 +8,7 @@ services:
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
yjs:
# renovate: depName=opencloudeu/yjs
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.0}
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.1}
user: ${OC_CONTAINER_UID_GID:-1000:1000}
networks:
opencloud-net: