Compare commits

...

28 Commits

Author SHA1 Message Date
Dominik Schmidt
88c2ced9a6 docs: add AGENTS.md with the steps for adding an image
The image schema, the wording in .env.example and the renovate rules
are conventions no file states on its own. Write them down where
coding agents and contributors look first.
2026-11-12 02:06:52 +01:00
Dominik Schmidt
b59a566eb9 docs: describe image variables consistently
Concrete default versions go stale with the first renovate bump, the
imagor one already was. Use the same sentence for every pinned image
and list all image variables uncommented and empty in .env.example.
2026-11-12 02:02:04 +01:00
Dominik Schmidt
ccb08887e7 chore: pin tika, clamav, radicale, phpldapadmin and euro-office images
These five images defaulted to "latest". A host that never pulls stays
on whatever "latest" was at first start, a fresh install gets an
untested version, and one repository state does not describe one set
of images.

Pin each to the version "latest" points to today. Euro Office publishes
no version tags, so it is pinned by digest. The tag variables can still
be set to "latest".
2026-11-12 02:02:04 +01:00
Dominik Schmidt
26ccf1c819 feat: add image variables for clamav and the ldap manager
clamav only had a tag variable and the ldap manager none. Give both an
image and a tag variable like the other images that default to a moving
tag, so every such image is configured, pinned and bumped the same way.
2026-11-12 02:02:04 +01:00
Dominik Schmidt
3dab02683c feat!: split TIKA_IMAGE into image, tag and variant variables
Tika was the only image that took name and tag in one variable. Use
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG like the other images, so the
tag can be pinned and bumped the same way.

TIKA_DOCKER_VARIANT=full selects the full image without naming a tag, so
choosing the variant no longer means choosing a version.

BREAKING CHANGE: TIKA_IMAGE is no longer read, compose aborts with a
message while it is still set. Replace
TIKA_IMAGE=apache/tika:latest-full with TIKA_DOCKER_VARIANT=full, or set
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG for any other image.
2026-11-12 02:02:04 +01:00
Dominik Schmidt
dee4c1b17e chore(renovate): automerge patch updates of all images
Patch updates were merged automatically for images written as a fixed
string, but not for images whose tag is a variable, because the rule
was bound to renovate's docker-compose manager. Which manager reads an
image says nothing about how risky its patch releases are.

Drop the manager from the rule, so it covers every image. An image
that should not be merged automatically gets its own rule by package
name, where the exception is visible.
2026-11-12 01:49:26 +01:00
Dominik Schmidt
ca5f356d4f chore(renovate): detect every image that takes its tag from a variable
The regex manager needed a "# renovate: depName=" annotation above the
image line and the compose file in a list, and it only understood a
plain x.y.z tag. opensearch was pinned but had neither, so it was never
updated.

Read the image name from the image line itself, scan all yaml files and
accept any tag, with or without a digest. An image is picked up as soon
as its tag is the default of a variable, nothing else to remember.
2026-11-12 01:49:26 +01:00
renovate[bot]
4b6c589673 chore(deps): update traefik docker tag to v3.7.18 (#413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 18:46:28 +01:00
renovate[bot]
1422fa6767 chore(deps): update collabora/code docker tag to v26.04.6.1.1 (#420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 18:45:41 +01:00
renovate[bot]
b3ca76d674 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.2 (#416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 18:44:50 +01:00
Viktor Scharf
24414ae9ab Merge pull request #425 from opencloud-eu/renovate/main-opencloudeu-opencloud-rolling-9.x
chore(deps): update opencloudeu/opencloud-rolling docker tag to v9.1.0 (main)
2026-11-11 18:08:57 +01:00
renovate[bot]
3c0e1b9138 chore(deps): update opencloudeu/opencloud-rolling docker tag to v9.1.0 2026-11-11 17:07:41 +00:00
renovate[bot]
6e09e69071 chore(deps): update shumc/imagor docker tag to v1.10.1 (#418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-09 09:25:35 +01: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
20 changed files with 239 additions and 47 deletions

View File

@@ -89,7 +89,7 @@ TRAEFIK_LOG_LEVEL=
# Defaults to production if not set otherwise # Defaults to production if not set otherwise
OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling
# The openCloud container version. # The openCloud container version.
# Defaults to the latest version-tag. Use git pull to update. # Defaults to the pinned version. Use git pull to update.
OC_DOCKER_TAG= OC_DOCKER_TAG=
# The default id used in opencloud containers is 1000 for user and group. # The default id used in opencloud containers is 1000 for user and group.
# If you want to change the default, use the following variable and the format [UID]:[GID]. # If you want to change the default, use the following variable and the format [UID]:[GID].
@@ -202,13 +202,50 @@ START_ADDITIONAL_SERVICES=""
# Enable it by adding the following to the COMPOSE_FILE variable: # Enable it by adding the following to the COMPOSE_FILE variable:
# search/tika.yml or by using the following command: # search/tika.yml or by using the following command:
# docker compose -f docker-compose.yml -f search/tika.yml up -d # docker compose -f docker-compose.yml -f search/tika.yml up -d
# Set the desired docker image tag or digest. # Docker image to use for the Tika container. Defaults to "apache/tika".
# Defaults to "apache/tika:latest" TIKA_DOCKER_IMAGE=
# The slim variant is recommended for most use cases as it provides core text extraction # Docker tag to pull for the Tika container.
# Defaults to the pinned version. Use git pull to update.
TIKA_DOCKER_TAG=
# The image variant, appended to the tag.
# The default base variant is recommended for most use cases as it provides core text extraction
# functionality with a smaller image size and faster startup time. # functionality with a smaller image size and faster startup time.
# Only use the full variant (apache/tika:latest-full) if you need specialized features # Only set this to "full" if you need specialized features
# like advanced OCR or specific image processing capabilities. # like advanced OCR or specific image processing capabilities.
TIKA_IMAGE= TIKA_DOCKER_VARIANT=
### OpenSearch Search Engine ###
# OpenSearch replaces the embedded bleve search index.
# Enable it by adding search/opensearch.yml to the COMPOSE_FILE variable or by
# using the following command:
# docker compose -f docker-compose.yml -f search/opensearch.yml up -d
# Docker image to use for the OpenSearch container. Defaults to "opensearchproject/opensearch".
OPENSEARCH_DOCKER_IMAGE=
# Docker tag to pull for the OpenSearch container.
# Defaults to the pinned version. Use git pull to update.
OPENSEARCH_DOCKER_TAG=
### 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 the pinned version. Use git pull to update.
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 ### ### IMPORTANT Note for Online Office Apps ###
# To avoid app interlocking issues, you should select only one app to be active/configured. # To avoid app interlocking issues, you should select only one app to be active/configured.
@@ -254,7 +291,7 @@ EURO_OFFICE_JWT_SECRET=
# Defaults to "ghcr.io/euro-office/documentserver" # Defaults to "ghcr.io/euro-office/documentserver"
EURO_OFFICE_DOCKER_IMAGE= EURO_OFFICE_DOCKER_IMAGE=
# Euro Office Docker tag. # Euro Office Docker tag.
# Defaults to "latest" # Defaults to the pinned digest. Use git pull to update.
EURO_OFFICE_DOCKER_TAG= EURO_OFFICE_DOCKER_TAG=
@@ -269,8 +306,10 @@ EURO_OFFICE_DOCKER_TAG=
# Usable modes: partial, skip. # Usable modes: partial, skip.
# Defaults to "partial" # Defaults to "partial"
#ANTIVIRUS_MAX_SCAN_SIZE_MODE= #ANTIVIRUS_MAX_SCAN_SIZE_MODE=
# Docker image to use for the ClamAV container. Defaults to "clamav/clamav".
CLAMAV_DOCKER_IMAGE=
# Image version of the ClamAV container. # Image version of the ClamAV container.
# Defaults to "latest" # Defaults to the pinned version. Use git pull to update.
CLAMAV_DOCKER_TAG= CLAMAV_DOCKER_TAG=
@@ -332,6 +371,11 @@ PROXY_ROLE_ASSIGNMENT_DRIVER=
# Set to "true" when using PROXY_ROLE_ASSIGNMENT_DRIVER=default # Set to "true" when using PROXY_ROLE_ASSIGNMENT_DRIVER=default
GRAPH_ASSIGN_DEFAULT_USER_ROLE= GRAPH_ASSIGN_DEFAULT_USER_ROLE=
# If you want to use a keycloak for local testing, you can use testing/external-keycloak.yml and testing/ldap-manager.yml # If you want to use a keycloak for local testing, you can use testing/external-keycloak.yml and testing/ldap-manager.yml
# Docker image to use for the LDAP manager container. Defaults to "phpldapadmin/phpldapadmin".
LDAP_MANAGER_DOCKER_IMAGE=
# Docker tag to pull for the LDAP manager container.
# Defaults to the pinned version. Use git pull to update.
LDAP_MANAGER_DOCKER_TAG=
# Domain of your Identity Provider. # Domain of your Identity Provider.
IDP_DOMAIN= IDP_DOMAIN=
# IdP Issuer URL, which is used to identify the Identity Provider. # IdP Issuer URL, which is used to identify the Identity Provider.
@@ -390,24 +434,37 @@ KC_DB_PASSWORD=
# The yjs server relays updates between users editing the same file. # The yjs server relays updates between users editing the same file.
# It is enabled by default via yjs/yjs.yml in the COMPOSE_FILE variable. # It is enabled by default via yjs/yjs.yml in the COMPOSE_FILE variable.
# The browser reaches it under https://{OC_DOMAIN}/yjs, the OpenCloud proxy forwards it. # The browser reaches it under https://{OC_DOMAIN}/yjs, the OpenCloud proxy forwards it.
# Docker image to use for the yjs container. # Docker image to use for the yjs container. Defaults to "opencloudeu/yjs".
#YJS_DOCKER_IMAGE=opencloudeu/yjs YJS_DOCKER_IMAGE=
# Docker tag to pull for the yjs container. # Docker tag to pull for the yjs container.
#YJS_DOCKER_TAG= # Defaults to the pinned version. Use git pull to update.
YJS_DOCKER_TAG=
# URL the yjs server uses to reach OpenCloud. Defaults to "http://opencloud:9200". # URL the yjs server uses to reach OpenCloud. Defaults to "http://opencloud:9200".
#YJS_OPENCLOUD_URL= #YJS_OPENCLOUD_URL=
# Grace period in milliseconds for a graceful shutdown. Defaults to "15000". # Grace period in milliseconds for a graceful shutdown. Defaults to "15000".
# Keep it below the stop_grace_period set in yjs/yjs.yml. # Keep it below the stop_grace_period set in yjs/yjs.yml.
#YJS_SHUTDOWN_GRACE_PERIOD_MS= #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 Setting ###
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server. # 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 # When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
# OpenCloud users access to a Personal Calendar and Addressbook # OpenCloud users access to a Personal Calendar and Addressbook
# Docker image to use for the Radicale Container # Docker image to use for the Radicale Container. Defaults to "opencloudeu/radicale".
#RADICALE_DOCKER_IMAGE=opencloudeu/radicale RADICALE_DOCKER_IMAGE=
# Docker tag to pull for the Radicale Container # Docker tag to pull for the Radicale Container
#RADICALE_DOCKER_TAG=latest # Defaults to the pinned version. Use git pull to update.
RADICALE_DOCKER_TAG=
# Define the storage location for the Radicale data. Set the path to a local path. # Define the storage location for the Radicale data. Set the path to a local path.
# Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000. # Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000.
# This matches the default user inside the container and avoids permission issues when accessing files. # This matches the default user inside the container and avoids permission issues when accessing files.

65
AGENTS.md Normal file
View File

@@ -0,0 +1,65 @@
# AGENTS.md
Compose files for running OpenCloud. Each module is one compose file, modules are combined through `COMPOSE_FILE` (see `README.md`).
## Adding a Docker image
Every new image follows one schema. Renovate detects it from the schema alone, there is no annotation and no file list to maintain.
1. Write the image line with an image and a tag variable, both with a default:
```yaml
image: ${<NAME>_DOCKER_IMAGE:-<registry/image>}:${<NAME>_DOCKER_TAG:-<version>}
```
`<version>` is an exact released version, usually the one `latest` points to today. An image without version tags is pinned by the digest of its multi-arch index (`docker buildx imagetools inspect <image>:latest`):
```yaml
image: ${<NAME>_DOCKER_IMAGE:-<registry/image>}:${<NAME>_DOCKER_TAG:-latest@sha256:<digest>}
```
2. Document both variables in `.env.example`, uncommented and empty, in this wording:
```sh
# Docker image to use for the <name> container. Defaults to "<registry/image>".
<NAME>_DOCKER_IMAGE=
# Docker tag to pull for the <name> container.
# Defaults to the pinned version. Use git pull to update.
<NAME>_DOCKER_TAG=
```
The version number lives only in the compose file. `.env.example` and `README.md` say "pinned version", because renovate bumps the compose file and a copied number goes stale.
`.env.example` is the reference for variables. The table in `README.md` is a selection: add a row there only when asked.
3. Check compose. Done when the pinned image is printed and there is no warning:
```sh
docker compose --env-file .env.example -f docker-compose.yml -f <module>.yml config | grep image:
```
4. Check renovate. Done when the output shows the image with its `depName` and `currentValue`:
```sh
docker run --rm -v "$PWD:/usr/src/app" -e LOG_LEVEL=debug renovate/renovate --platform=local 2>&1 \
| grep -A3 '"depName": "<registry/image>"'
```
Renovate finds files through `git ls-files`: `git add` a new compose file before the run. To see an update proposal, pin an older version for the run and widen the grep to `-A12`.
## How renovate treats images
- **Detection:** one pattern in `renovate.json` (`customManagers`) matches the schema above in every yaml file and reads name, tag and digest from the `image:` line. Images written as a fixed string (`traefik:v3.7.18`) are older and handled by renovate's `docker-compose` manager.
- **Automerge:** patch updates are merged automatically for every image. An image that needs a manual merge gets its own rule by package name, placed after the automerge rule:
```json
{ "matchPackageNames": ["<registry/image>"], "automerge": false }
```
- **Version limits:** an image that must stay on one major gets an `allowedVersions` rule by package name, like `postgres`.
- **Tag suffix variants:** a variant published as a tag suffix is a third variable appended to the tag, like `TIKA_DOCKER_VARIANT` in `search/tika.yml`. A variant published as a separate image needs nothing, the image variable selects it.
- **Stable branches:** `renovate.json` on `main` also governs `stable-*`. Check a pattern change against the `image:` lines on those branches.
## Removing or renaming a variable
Compose ignores a variable it no longer reads, so an old `.env` fails silently. Make it fail loudly: add the old name to `x-removed-variables` in the module's compose file, like `TIKA_IMAGE` in `search/tika.yml`. Compose then aborts with the message when the old variable is still set.

1
CLAUDE.md Normal file
View File

@@ -0,0 +1 @@
@AGENTS.md

View File

@@ -15,6 +15,7 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
- **Euro Office** integration for document editing - **Euro Office** integration for document editing
- **Keycloak and LDAP** integration for centralized identity management - **Keycloak and LDAP** integration for centralized identity management
- **Full text search** with Apache Tika for content extraction and metadata analysis - **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 - **Monitoring** with metrics endpoints for observability and performance monitoring
- **Radicale** integration for Calendar and Contacts - **Radicale** integration for Calendar and Contacts
- **ClamAV** antivirus scanning with ClamAV - **ClamAV** antivirus scanning with ClamAV
@@ -188,12 +189,38 @@ This setup includes:
- Support for documents, PDFs, images, and other file types - Support for documents, PDFs, images, and other file types
**Tika Image Variant:** **Tika Image Variant:**
By default, OpenCloud Compose uses `apache/tika:latest` which provides: By default, OpenCloud Compose uses the base variant of `apache/tika` which provides:
- Smaller image size (~300MB vs ~1.2GB for the full variant) - Smaller image size (~300MB vs ~1.2GB for the full variant)
- Faster container startup and deployment - Faster container startup and deployment
- Core text extraction functionality for common document formats (PDF, Office docs, text files, etc.) - Core text extraction functionality for common document formats (PDF, Office docs, text files, etc.)
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. 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 switch to the full variant by setting `TIKA_DOCKER_VARIANT=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 ### With the Yjs Server
@@ -412,7 +439,7 @@ Key variables:
| `COMPOSE_FILE` | Colon-separated list of compose files to use | (commented out) | | `COMPOSE_FILE` | Colon-separated list of compose files to use | (commented out) |
| `OC_DOMAIN` | OpenCloud domain | cloud.opencloud.test | | `OC_DOMAIN` | OpenCloud domain | cloud.opencloud.test |
| `INITIAL_ADMIN_PASSWORD ` | OpenCloud password for the admin user | (no value) | | `INITIAL_ADMIN_PASSWORD ` | OpenCloud password for the admin user | (no value) |
| `OC_DOCKER_TAG` | OpenCloud image tag | latest | | `OC_DOCKER_TAG` | OpenCloud image tag | (pinned version) |
| `OC_CONFIG_DIR` | Config directory path | (Docker volume) | | `OC_CONFIG_DIR` | Config directory path | (Docker volume) |
| `OC_DATA_DIR` | Data directory path | (Docker volume) | | `OC_DATA_DIR` | Data directory path | (Docker volume) |
| `INSECURE` | Skip certificate validation | true | | `INSECURE` | Skip certificate validation | true |
@@ -420,8 +447,12 @@ Key variables:
| `EURO_OFFICE_DOMAIN` | Euro Office document server domain | euro-office.opencloud.test | | `EURO_OFFICE_DOMAIN` | Euro Office document server domain | euro-office.opencloud.test |
| `EURO_OFFICE_JWT_SECRET` | JWT secret for Euro Office (change for production!) | changeme | | `EURO_OFFICE_JWT_SECRET` | JWT secret for Euro Office (change for production!) | changeme |
| `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver | | `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver |
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest | | `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | (pinned digest) |
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim | | `TIKA_DOCKER_IMAGE` | Apache Tika Docker image | apache/tika |
| `TIKA_DOCKER_TAG` | Apache Tika Docker tag | (pinned version) |
| `TIKA_DOCKER_VARIANT` | Apache Tika image variant, `full` for the full image | (base variant) |
| `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor |
| `IMAGOR_DOCKER_TAG` | imagor Docker tag | (pinned version) |
| `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 |
@@ -477,6 +508,7 @@ This repository uses a modular approach with multiple compose files:
- `weboffice/` - Web office integrations (Collabora Online) - `weboffice/` - Web office integrations (Collabora Online)
- `storage/` - Storage backend configurations (decomposeds3) - `storage/` - Storage backend configurations (decomposeds3)
- `search/` - Search and content analysis services (Apache Tika) - `search/` - Search and content analysis services (Apache Tika)
- `thumbnails/` - Preview generator (imagor)
- `monitoring/` - Monitoring and metrics configurations - `monitoring/` - Monitoring and metrics configurations
- `idm/` - Identity management configurations (Keycloak & LDAP) - `idm/` - Identity management configurations (Keycloak & LDAP)
- `traefik/` - Traefik reverse proxy configurations - `traefik/` - Traefik reverse proxy configurations

View File

@@ -16,7 +16,7 @@ services:
clamav: clamav:
condition: service_healthy condition: service_healthy
clamav: clamav:
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest} image: ${CLAMAV_DOCKER_IMAGE:-clamav/clamav}:${CLAMAV_DOCKER_TAG:-1.5.4}
environment: environment:
# Accepts a number with optional K, M or G suffix. Must be greater or equal to ANTIVIRUS_MAX_SCAN_SIZE above. # Accepts a number with optional K, M or G suffix. Must be greater or equal to ANTIVIRUS_MAX_SCAN_SIZE above.
# K = KiB (1024), M = MiB (1024 * 1024), G = GiB (1024 * 1024 * 1024) # K = KiB (1024), M = MiB (1024 * 1024), G = GiB (1024 * 1024 * 1024)

View File

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

View File

@@ -39,6 +39,7 @@ directives:
- '''self''' - '''self'''
media-src: media-src:
- '''self''' - '''self'''
- 'blob:'
object-src: object-src:
- '''self''' - '''self'''
- 'blob:' - 'blob:'

View File

@@ -1,8 +1,7 @@
--- ---
services: services:
opencloud: opencloud:
# 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:-8.1.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}
@@ -54,6 +53,8 @@ services:
OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}" 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_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}"
OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-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) # 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}
volumes: volumes:

View File

@@ -78,7 +78,7 @@ services:
restart: always restart: always
keycloak: keycloak:
image: quay.io/keycloak/keycloak:26.8.0 image: quay.io/keycloak/keycloak:26.8.2
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" ]

View File

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

View File

@@ -5,7 +5,7 @@ services:
# external sites needs to have additional routes configured in the proxy # external sites needs to have additional routes configured in the proxy
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml - ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
radicale: radicale:
image: ${RADICALE_DOCKER_IMAGE:-opencloudeu/radicale}:${RADICALE_DOCKER_TAG:-latest} image: ${RADICALE_DOCKER_IMAGE:-opencloudeu/radicale}:${RADICALE_DOCKER_TAG:-v3.9.0}
user: ${OC_CONTAINER_UID_GID:-1000:1000} user: ${OC_CONTAINER_UID_GID:-1000:1000}
networks: networks:
opencloud-net: opencloud-net:

View File

@@ -10,7 +10,6 @@
"labels": ["Type:Dependencies", "Bot:Renovate"] "labels": ["Type:Dependencies", "Bot:Renovate"]
}, },
{ {
"matchManagers": ["docker-compose"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"automerge": true "automerge": true
}, },
@@ -31,13 +30,9 @@
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"managerFilePatterns": [ "managerFilePatterns": ["/.+\\.ya?ml$/"],
"/^docker-compose\\.yml$/",
"/^weboffice\\/collabora\\.yml$/",
"/^yjs\\/yjs\\.yml$/"
],
"matchStrings": [ "matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+)\\n\\s+image: \\$\\{[^}]+\\}:\\$\\{[^}]+-(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\}" "image: \\$\\{[^}:]+:-(?<depName>[^}]+)\\}:\\$\\{[^}:]+:-(?<currentValue>[^@}]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\\}"
], ],
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
} }

View File

@@ -1,7 +1,9 @@
--- ---
x-removed-variables:
TIKA_IMAGE: "${TIKA_IMAGE:+${TIKA_IMAGE_REMOVED:?TIKA_IMAGE (image:tag) is now TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG}}"
services: services:
tika: tika:
image: ${TIKA_IMAGE:-apache/tika:latest} image: ${TIKA_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-4.2.0}${TIKA_DOCKER_VARIANT:+-}${TIKA_DOCKER_VARIANT:-}
# Using the base variant for smaller image size and faster startup # Using the base variant for smaller image size and faster startup
# The base variant includes core functionality for text extraction # The base variant includes core functionality for text extraction
# Full variant is only needed for specialized OCR/image processing # Full variant is only needed for specialized OCR/image processing

View File

@@ -15,7 +15,7 @@ services:
restart: always restart: always
keycloak: keycloak:
image: quay.io/keycloak/keycloak:26.8.0 image: quay.io/keycloak/keycloak:26.8.2
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" ]

View File

@@ -4,7 +4,7 @@
# This is not a production ready setup. # This is not a production ready setup.
services: services:
ldap-manager: ldap-manager:
image: phpldapadmin/phpldapadmin:latest image: ${LDAP_MANAGER_DOCKER_IMAGE:-phpldapadmin/phpldapadmin}:${LDAP_MANAGER_DOCKER_TAG:-2.3.12}
networks: networks:
opencloud-net: opencloud-net:
environment: environment:

44
thumbnails/imagor.yml Normal file
View File

@@ -0,0 +1,44 @@
---
services:
imagor:
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.1}
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: opencloud:
labels: labels:
- "traefik.enable=true" - "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) # 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 # 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" - "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000"
@@ -16,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.14 image: traefik:v3.7.18
# 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:

View File

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

View File

@@ -24,7 +24,7 @@ services:
- ./config/euro-office/app-registry.yaml:/etc/opencloud/app-registry.yaml - ./config/euro-office/app-registry.yaml:/etc/opencloud/app-registry.yaml
euro-office: euro-office:
image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest} image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest@sha256:2fadc1b3dc99250d6576fc0c0f34349db6725b752b08e91db9831fbb803fc5c2}
# changelog https://github.com/EURO-office/DocumentServer/releases # changelog https://github.com/EURO-office/DocumentServer/releases
networks: networks:
opencloud-net: opencloud-net:

View File

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