Compare commits

..

41 Commits

Author SHA1 Message Date
renovate[bot]
6f28a50718 chore(deps): update collabora/code docker tag to v26.04.6.2.1 (#439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 14:48:18 +01:00
renovate[bot]
920c77e94a chore(deps): update opencloudeu/opencloud docker tag to v7.2.6 (#431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-17 12:15:01 +01:00
renovate[bot]
fc7bd05c6d chore(deps): update collabora/code docker tag to v26.04.6.1.1 (#421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 18:45:17 +01:00
Viktor Scharf
84ae57def1 Merge pull request #424 from opencloud-eu/renovate/stable-7.2-opencloudeu-opencloud-7.x
chore(deps): update opencloudeu/opencloud docker tag to v7.2.5 (stable-7.2)
2026-11-11 18:01:51 +01:00
renovate[bot]
ff2f39c8fa chore(deps): update opencloudeu/opencloud docker tag to v7.2.5 2026-11-11 16:58:13 +00:00
renovate[bot]
8aeaf30aaf chore(deps): update collabora/code docker tag to v26.04.5.2.1 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:47:09 +01:00
renovate[bot]
097e0d8c6e chore(deps): update collabora/code docker tag to v26.04.5.1.1 (#401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-12 11:57:53 +02:00
renovate[bot]
2bd0b17c3e chore(deps): update alpine/openssl docker tag to v3.5.9 (#394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:53:38 +02:00
renovate[bot]
736cc26bd0 chore(deps): update collabora/code docker tag to v26.04.4.2.1 (#387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:51:46 +02:00
renovate[bot]
baaebb5724 chore(deps): update collabora/code docker tag to v26.04.3.2.1 (#376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-01 09:43:56 +02:00
Michael Barz
6725f45749 Merge pull request #373 from opencloud-eu/renovate/stable-7.2-alpine-openssl-3.x
chore(deps): update alpine/openssl docker tag to v3.5.8 (stable-7.2)
2026-08-31 16:20:20 +02:00
renovate[bot]
c213706dfa chore(deps): update alpine/openssl docker tag to v3.5.8 2026-08-29 08:27:16 +00:00
Viktor Scharf
848fd1f628 Merge pull request #366 from opencloud-eu/renovate/stable-7.2-opencloudeu-opencloud-7.x
chore(deps): update opencloudeu/opencloud docker tag to v7.2.4 (stable-7.2)
2026-08-21 10:00:13 +02:00
renovate[bot]
3509a0abc0 chore(deps): update opencloudeu/opencloud docker tag to v7.2.4 2026-08-21 07:53:55 +00:00
Michael Barz
cc03dce3b2 Merge pull request #358 from opencloud-eu/renovate/stable-7.2-collabora-code-26.x
chore(deps): update collabora/code docker tag to v26.04.3.1.1 (stable-7.2)
2026-08-14 16:18:33 +02:00
renovate[bot]
4f6d691f16 chore(deps): update collabora/code docker tag to v26.04.3.1.1 2026-08-11 22:32:47 +00:00
Michael Barz
8efca76bdb Merge pull request #356 from opencloud-eu/renovate/stable-7.2-opencloudeu-opencloud-7.x
chore(deps): update opencloudeu/opencloud docker tag to v7.2.3 (stable-7.2)
2026-08-06 19:12:29 +02:00
renovate[bot]
b5baab2b00 chore(deps): update opencloudeu/opencloud docker tag to v7.2.3 2026-08-06 16:59:01 +00:00
Michael Barz
21467e4f1a Merge pull request #345 from opencloud-eu/renovate/stable-7.2-collabora-code-26.x
chore(deps): update collabora/code docker tag to v26.04.2.4.1 (stable-7.2)
2026-07-29 15:52:23 +02:00
micbar
a930989ec7 feat: add proof key side car 2026-07-29 13:54:38 +02:00
kellergoech
6ff4fb4417 Adjust collavora to new distroless container 2026-07-29 13:54:18 +02:00
renovate[bot]
68a2f53ef2 chore(deps): update collabora/code docker tag to v26.04.2.4.1 2026-07-24 03:04:08 +00:00
Michael Barz
fffb04bac2 Merge pull request #342 from opencloud-eu/renovate/stable-7.2-collabora-code-26.x
chore(deps): update collabora/code docker tag to v26.04.2.2.1 (stable-7.2)
2026-07-19 18:29:22 +02:00
renovate[bot]
c72832dc8a chore(deps): update collabora/code docker tag to v26.04.2.2.1 2026-07-18 21:09:05 +00:00
Viktor Scharf
32d9e5fb50 Merge pull request #337 from opencloud-eu/renovate/stable-7.2-opencloudeu-opencloud-7.x
chore(deps): update opencloudeu/opencloud docker tag to v7.2.2 (stable-7.2)
2026-07-14 13:26:57 +02:00
renovate[bot]
e6256ebadb chore(deps): update opencloudeu/opencloud docker tag to v7.2.2 2026-07-14 11:25:15 +00:00
Viktor Scharf
8b271811a6 Merge pull request #336 from opencloud-eu/add-revovate-dependancy-to-stable
Add Renovate comment for opencloud dependency
2026-07-14 13:24:31 +02:00
Viktor Scharf
40882d6f8f Add Renovate comment for opencloud dependency 2026-07-14 11:27:13 +02:00
Viktor Scharf
2ec04b4466 Merge pull request #334 from opencloud-eu/fix/renovate-stable-7.2-use-production-image
fix: use docker image to production release on stable-7.2
2026-07-10 14:48:19 +02:00
Viktor Scharf
2c72369d24 Update docker-compose.yml 2026-07-10 10:03:01 +02:00
v.scharf
6d3a1f8c49 remove renovate from stable-7.2 2026-07-10 09:49:34 +02:00
v.scharf
cc1471e467 fix: use docker image to production release on stable-7.2 2026-07-10 09:43:07 +02:00
v.scharf
300fc4779b fix: use docker image to production release on stable-7.2 2026-07-10 09:39:48 +02:00
Michael Barz
12efcc9e91 Merge pull request #330 from opencloud-eu/renovate/stable-7.2-quay.io-keycloak-keycloak-26.x
chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.4 (stable-7.2)
2026-07-01 13:11:04 +02:00
renovate[bot]
cd22ba6f6e chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.4 2026-07-01 11:09:33 +00:00
Michael Barz
23f4b6eefe Merge pull request #329 from opencloud-eu/renovate/stable-7.2-collabora-code-26.x
chore(deps): update collabora/code docker tag to v26.04.2.1.1 (stable-7.2)
2026-07-01 13:08:42 +02:00
renovate[bot]
225740f7d4 chore(deps): update collabora/code docker tag to v26.04.2.1.1 2026-07-01 10:59:22 +00:00
Anja Barz
f74c434267 Merge pull request #316 from opencloud-eu/backport/313
Backport/313
2026-06-24 10:26:48 +02:00
Anja Barz
e2c680ea6b change the scopes for the clients 2026-06-24 10:23:27 +02:00
Anja Barz
b0fdcec0a3 add the default ids and scopes for the clients 2026-06-24 10:23:27 +02:00
Viktor Scharf
a0f9ffbc6f Merge pull request #315 from opencloud-eu/sync-main-to-stable
Sync main to stable
2026-06-23 13:04:46 +02:00
58 changed files with 916 additions and 1397 deletions

View File

@@ -10,24 +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:traefik/opencloud.yml #COMPOSE_FILE=docker-compose.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:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml #COMPOSE_FILE=docker-compose.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:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml #COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
# Keycloak Shared User Directory # Keycloak Shared User Directory
#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:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
# External IDP # External IDP
#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:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/external-idp.yml
# Euro Office with traefik and letsencrypt # Euro Office with traefik and letsencrypt
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml #COMPOSE_FILE=docker-compose.yml:weboffice/euroffice.yml:traefik/opencloud.yml:traefik/euroffice.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:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml #COMPOSE_FILE=docker-compose.yml:weboffice/euroffice.yml:external-proxy/opencloud.yml:external-proxy/euroffice.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.
@@ -87,9 +87,9 @@ TRAEFIK_LOG_LEVEL=
# For production releases: "opencloudeu/opencloud" # For production releases: "opencloudeu/opencloud"
# For rolling releases: "opencloudeu/opencloud-rolling" # For rolling releases: "opencloudeu/opencloud-rolling"
# 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
# The openCloud container version. # The openCloud container version.
# Defaults to the pinned version. Use git pull to update. # Defaults to the latest version-tag. 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,50 +202,13 @@ 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
# Docker image to use for the Tika container. Defaults to "apache/tika". # Set the desired docker image tag or digest.
TIKA_DOCKER_IMAGE= # Defaults to "apache/tika:latest"
# Docker tag to pull for the Tika container. # The slim variant is recommended for most use cases as it provides core text extraction
# 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 set this to "full" if you need specialized features # Only use the full variant (apache/tika:latest-full) if you need specialized features
# like advanced OCR or specific image processing capabilities. # like advanced OCR or specific image processing capabilities.
TIKA_DOCKER_VARIANT= TIKA_IMAGE=
### 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.
@@ -291,7 +254,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 the pinned digest. Use git pull to update. # Defaults to "latest"
EURO_OFFICE_DOCKER_TAG= EURO_OFFICE_DOCKER_TAG=
@@ -306,10 +269,8 @@ 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 the pinned version. Use git pull to update. # Defaults to "latest"
CLAMAV_DOCKER_TAG= CLAMAV_DOCKER_TAG=
@@ -371,11 +332,6 @@ 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.
@@ -427,44 +383,17 @@ KC_DB_PASSWORD=
# - ./config/ldap/ldif/30_demo_users.ldif:/ldifs/30_demo_users.ldif # - ./config/ldap/ldif/30_demo_users.ldif:/ldifs/30_demo_users.ldif
# - ./config/ldap/ldif/40_demo_groups.ldif:/ldifs/40_demo_groups.ldif # - ./config/ldap/ldif/40_demo_groups.ldif:/ldifs/40_demo_groups.ldif
# #
# Then add it to: 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:custom/ldap-keycloak-demo-users.yml # Then add it to: COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml:custom/ldap-keycloak-demo-users.yml
# WARNING: Do not use in production. # WARNING: Do not use in production.
### Yjs Settings ###
# 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.
# The browser reaches it under https://{OC_DOMAIN}/yjs, the OpenCloud proxy forwards it.
# Docker image to use for the yjs container. Defaults to "opencloudeu/yjs".
YJS_DOCKER_IMAGE=
# Docker tag to pull for the yjs container.
# 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".
#YJS_OPENCLOUD_URL=
# Grace period in milliseconds for a graceful shutdown. Defaults to "15000".
# 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 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. Defaults to "opencloudeu/radicale". # Docker image to use for the Radicale Container
RADICALE_DOCKER_IMAGE= #RADICALE_DOCKER_IMAGE=opencloudeu/radicale
# Docker tag to pull for the Radicale Container # Docker tag to pull for the Radicale Container
# Defaults to the pinned version. Use git pull to update. #RADICALE_DOCKER_TAG=latest
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.

View File

@@ -1,66 +0,0 @@
# 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`.
- **Update frequency:** an image pinned by digest gets a PR for every new `latest`. If that is too often, limit it with a `schedule` rule by package name, like `ghcr.io/euro-office/documentserver` (weekly).
- **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.

View File

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

View File

@@ -15,7 +15,6 @@ 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
@@ -148,12 +147,12 @@ Include Euro Office for document editing using either method:
Using `-f` flags: Using `-f` flags:
```bash ```bash
docker compose -f docker-compose.yml -f weboffice/euro-office.yml -f traefik/opencloud.yml -f traefik/euro-office.yml up -d docker compose -f docker-compose.yml -f weboffice/euroffice.yml -f traefik/opencloud.yml -f traefik/euroffice.yml up -d
``` ```
Or by setting in `.env`: Or by setting in `.env`:
``` ```
COMPOSE_FILE=docker-compose.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml COMPOSE_FILE=docker-compose.yml:weboffice/euroffice.yml:traefik/opencloud.yml:traefik/euroffice.yml
``` ```
> **For local development only**: Add to `/etc/hosts`: > **For local development only**: Add to `/etc/hosts`:
@@ -189,60 +188,12 @@ 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 the base variant of `apache/tika` which provides: By default, OpenCloud Compose uses `apache/tika:latest` 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 switch to the full variant by setting `TIKA_DOCKER_VARIANT=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 override the image by setting `TIKA_IMAGE=apache/tika:latest-full` in your `.env` file.
### Thumbnails
The thumbnails service of OpenCloud runs in its own `thumbnails` container, started from the same image as `opencloud`. Decoding untrusted images is a classic attack surface, so it happens in a container without access to the config, the secrets or the data of OpenCloud: a read-only filesystem, no capabilities and only the internal `thumbnails-net` network, which has no route to the outside. The service has no authentication, so never publish its port or route to it through the reverse proxy.
The webdav service posts the source images to `http://thumbnails:9186`. The additional container needs about 50 MB of RAM.
### 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 and Docker Compose 2.24.4 or newer, which understands the `!override` tag.
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, replacing the `thumbnails` container, which is scaled to 0
- 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.
Using `-f` flags:
```bash
docker compose -f docker-compose.yml -f yjs/yjs.yml -f traefik/opencloud.yml up -d
```
Or by setting in `.env`:
```
COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:traefik/opencloud.yml
```
The service keeps documents in memory only. All users of one file must reach the same instance, so run a single instance.
### With Radicale ### With Radicale
@@ -320,12 +271,12 @@ The WOPI server runs inside the OpenCloud process and is served on the OpenCloud
To use Euro Office instead of Collabora behind an external proxy, swap the web office compose files: To use Euro Office instead of Collabora behind an external proxy, swap the web office compose files:
```bash ```bash
docker compose -f docker-compose.yml -f weboffice/euro-office.yml -f external-proxy/opencloud.yml -f external-proxy/euro-office.yml up -d docker compose -f docker-compose.yml -f weboffice/euroffice.yml -f external-proxy/opencloud.yml -f external-proxy/euroffice.yml up -d
``` ```
Or by setting in `.env`: Or by setting in `.env`:
``` ```
COMPOSE_FILE=docker-compose.yml:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml COMPOSE_FILE=docker-compose.yml:weboffice/euroffice.yml:external-proxy/opencloud.yml:external-proxy/euroffice.yml
``` ```
This exposes the necessary ports: This exposes the necessary ports:
@@ -335,7 +286,7 @@ This exposes the necessary ports:
As with Collabora, the WOPI server is served on the OpenCloud port (9200) under the `/wopi` and `/collaboration` paths and needs no separate port. As with Collabora, the WOPI server is served on the OpenCloud port (9200) under the `/wopi` and `/collaboration` paths and needs no separate port.
> [!WARNING] > [!WARNING]
> `external-proxy/euro-office.yml` binds the exposed ports to `127.0.0.1` only. If your external proxy runs on a different host, use `external-proxy/euro-office-exposed.yml`, which binds to all interfaces (`0.0.0.0`). Only expose these ports when you know what you are doing. > `external-proxy/euroffice.yml` binds the exposed ports to `127.0.0.1` only. If your external proxy runs on a different host, use `external-proxy/euroffice-exposed.yml`, which binds to all interfaces (`0.0.0.0`). Only expose these ports when you know what you are doing.
**Please note:** **Please note:**
If you're using **Nginx Proxy Manager (NPM)**, you **should NOT** activate **"Block Common Exploits"** for the Proxy Host. If you're using **Nginx Proxy Manager (NPM)**, you **should NOT** activate **"Block Common Exploits"** for the Proxy Host.
@@ -368,12 +319,12 @@ OpenCloud Compose supports adding SSL certificates for public domains and develo
### Use Let's Encrypt with ACME Challenge ### Use Let's Encrypt with ACME Challenge
1. **Enable Let's Encrypt**: 1. **Enable Let's Encrypt**:
- Set `TRAEFIK_ACME_MAIL` to your email address for the ACME challenge - Set `TRAEFIK_LETSENCRYPT_EMAIL` to your email address for the ACME challenge
- Set `TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt"` to use Let's Encrypt (default value) - Set `TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt"` to use Let's Encrypt (default value)
```bash ```bash
# In your .env file # In your .env file
TRAEFIK_ACME_MAIL=devops@your-domain.tld TRAEFIK_LETSENCRYPT_EMAIL=devops@your-domain.tld
TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt" TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt"
``` ```
@@ -445,7 +396,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 | (pinned version) | | `OC_DOCKER_TAG` | OpenCloud image tag | latest |
| `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 |
@@ -453,19 +404,15 @@ 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 | (pinned digest) | | `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
| `TIKA_DOCKER_IMAGE` | Apache Tika Docker image | apache/tika | | `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
| `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 |
| `LDAP_BIND_PASSWORD` | LDAP password for the bind user | admin | | `LDAP_BIND_PASSWORD` | LDAP password for the bind user | admin |
| `KC_DB_USERNAME` | Database user for keycloak | keycloak | | `KC_DB_USERNAME` | Database user for keycloak | keycloak |
| `KC_DB_PASSWORD` | Database password for keycloak | keycloak | | `KC_DB_PASSWORD` | Database password for keycloak | keycloak |
| `TRAEFIK_ACME_MAIL` | Email Address for the Let's Encrypt ACME challenge | example@example.org | | `TRAEFIK_LETSENCRYPT_EMAIL` | Email Address for the Let's Encrypt ACME challenge | example@example.org |
| `TRAEFIK_SERVICES_TLS_CONFIG` | Tell traefik and the services which TLS config to use | tls.certresolver=letsencrypt | | `TRAEFIK_SERVICES_TLS_CONFIG` | Tell traefik and the services which TLS config to use | tls.certresolver=letsencrypt |
| `TRAEFIK_CERTS_DIR` | Directory for custom certificates. | ./certs | | `TRAEFIK_CERTS_DIR` | Directory for custom certificates. | ./certs |
@@ -514,13 +461,11 @@ 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
- `external-proxy/` - Configuration for external reverse proxies - `external-proxy/` - Configuration for external reverse proxies
- `radicale/` - Radicale configuration - `radicale/` - Radicale configuration
- `yjs/` - Yjs server configuration (collaborative editing)
- `config/` - Configuration files for OpenCloud, Keycloak, and LDAP - `config/` - Configuration files for OpenCloud, Keycloak, and LDAP
## Advanced Usage ## Advanced Usage

View File

@@ -16,7 +16,7 @@ services:
clamav: clamav:
condition: service_healthy condition: service_healthy
clamav: clamav:
image: ${CLAMAV_DOCKER_IMAGE:-clamav/clamav}:${CLAMAV_DOCKER_TAG:-1.5.5} image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
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,14 +27,13 @@ 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: false allow_creation: true
- 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

@@ -1,51 +1,38 @@
:root { :root {
--pf-v5-global--primary-color--100: #e2baff; --pf-global--primary-color--100: #e2baff;
--pf-v5-global--primary-color--200: #e2baff; --pf-global--primary-color--200: #e2baff;
--pf-v5-global--primary-color--dark-100: #e2baff; --pf-global--primary-color--dark-100: #e2baff;
--pf-v5-c-button--m-secondary--Color: #e2baff; --pf-global--Color--light-100: #20434f;
--pf-v5-global--Color--light-100: #20434f;
--pf-v5-global--FontFamily--text: "Inter", "RedHatText", helvetica, arial, sans-serif;
--pf-v5-global--FontFamily--heading: "Inter", "RedHatDisplay", helvetica, arial, sans-serif;
} }
@font-face { @font-face {
font-family: Inter; font-family: OpenCloud;
src: url('../fonts/Inter-Variable.woff2') format('woff2'); src: url('../fonts/OpenCloud500-Regular.woff2') format('woff2');
font-weight: 100 900; font-weight: normal;
font-style: normal;
}
@font-face {
font-family: OpenCloud;
src: url('../fonts/OpenCloud750-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal; font-style: normal;
} }
body { body {
background: url(../img/background.png) no-repeat center fixed !important; font-family: "OpenCloud", "Open Sans", Helvetica, Arial, sans-serif;
background: url(../img/background.png) no-repeat center !important;
background-size: cover !important; background-size: cover !important;
} }
.kc-logo-text { .kc-logo-text {
display: block; background-image: url(../img/logo.svg) !important;
width: 300px;
height: 63px;
background: url('../img/logo.svg') no-repeat center;
background-size: contain; background-size: contain;
width: 400px;
margin: 0 !important;
} }
.kc-logo-text span { #kc-header-wrapper{
display: none;
}
#kc-header-wrapper {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.pf-v5-c-login__main-header {
border-top: 4px solid var(--pf-v5-global--primary-color--100);
}
@media (min-width: 1200px) {
.pf-v5-c-login__container {
grid-template-columns: 34rem;
grid-template-areas:
"header"
"main";
}
}

View File

@@ -1,4 +1,4 @@
parent=keycloak.v2 parent=keycloak
import=common/keycloak import=common/keycloak
styles=css/login.css css/theme.css styles=css/login.css css/theme.css

View File

@@ -1,3 +0,0 @@
maps:
config:
folderViewEnabled: false

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{t as e}from"./preload-helper-DYl5dUZ5.mjs";await(await e(()=>import(`./remoteEntry-BXGAhFe2.mjs`),[],import.meta.url)).init();

View File

@@ -0,0 +1 @@
import{t as e}from"./preload-helper-DafEc2pQ.mjs";await(await e(()=>import(`./remoteEntry-lxWu31Tr.mjs`),[],import.meta.url)).init();

View File

@@ -1 +0,0 @@
import"./dist-CXnzN4cY.mjs";var e={"@opencloud-eu/web-client":{name:`@opencloud-eu/web-client`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/graph":{name:`@opencloud-eu/web-client/graph`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/graph' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/graph/generated":{name:`@opencloud-eu/web-client/graph/generated`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/graph/generated' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/ocs":{name:`@opencloud-eu/web-client/ocs`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/ocs' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/ox":{name:`@opencloud-eu/web-client/ox`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/ox' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/sse":{name:`@opencloud-eu/web-client/sse`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/sse' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/webdav":{name:`@opencloud-eu/web-client/webdav`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/webdav' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-pkg":{name:`@opencloud-eu/web-pkg`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-pkg' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-pkg/editor":{name:`@opencloud-eu/web-pkg/editor`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-pkg/editor' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},luxon:{name:`luxon`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'luxon' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},pinia:{name:`pinia`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'pinia' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},vue:{name:`vue`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'vue' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"vue3-gettext":{name:`vue3-gettext`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'vue3-gettext' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}}},t=[];export{t as usedRemotes,e as usedShared};

View File

@@ -0,0 +1 @@
import"./dist-r7AkbZvS.mjs";var e={"@opencloud-eu/web-client":{name:`@opencloud-eu/web-client`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/graph":{name:`@opencloud-eu/web-client/graph`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/graph' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/graph/generated":{name:`@opencloud-eu/web-client/graph/generated`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/graph/generated' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/ocs":{name:`@opencloud-eu/web-client/ocs`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/ocs' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/sse":{name:`@opencloud-eu/web-client/sse`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/sse' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-client/webdav":{name:`@opencloud-eu/web-client/webdav`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-client/webdav' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"@opencloud-eu/web-pkg":{name:`@opencloud-eu/web-pkg`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module '@opencloud-eu/web-pkg' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},luxon:{name:`luxon`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'luxon' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},pinia:{name:`pinia`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'pinia' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},vue:{name:`vue`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'vue' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}},"vue3-gettext":{name:`vue3-gettext`,version:void 0,scope:[`default`],loaded:!1,from:`maps`,async get(){throw Error(`[Module Federation] Shared module 'vue3-gettext' must be provided by host`)},shareConfig:{singleton:!0,requiredVersion:`*`,import:!1}}},t=[];export{t as usedRemotes,e as usedShared};

View File

@@ -0,0 +1 @@
import{t as e}from"./src-CIfRBuLG.mjs";export{e as default};

View File

@@ -1 +0,0 @@
import{t as e}from"./src-Bjkk5jHv.mjs";export{e as default};

View File

@@ -1 +0,0 @@
var e=function(e,t){return new URL(e,t).href},t={},n=function(n,r,i){let a=Promise.resolve();if(r&&r.length>0){let n=document.getElementsByTagName(`link`),o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);function c(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function l(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,new URL(`../../../src/node/plugins/importAnalysisBuild.ts`,import.meta.url)).href}a=c(r.map(r=>{if(r=e(r,i),r=l(r),r in t)return;t[r]=!0;let a=r.endsWith(`.css`);for(let e=n.length-1;e>=0;e--){let t=n[e];if(t.href===r&&(!a||t.rel===`stylesheet`))return}let o=document.createElement(`link`);if(o.rel=a?`stylesheet`:`modulepreload`,a||(o.as=`script`),o.crossOrigin=``,o.href=r,s&&o.setAttribute(`nonce`,s),document.head.appendChild(o),a)return new Promise((e,t)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${r}`)))})}))}function o(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return a.then(e=>{for(let t of e||[])t.status===`rejected`&&o(t.reason);return n().catch(o)})};export{n as t};

View File

@@ -0,0 +1 @@
var e=`modulepreload`,t=function(e,t){return new URL(e,t).href},n={},r=function(r,i,a){let o=Promise.resolve();if(i&&i.length>0){let r=document.getElementsByTagName(`link`),s=document.querySelector(`meta[property=csp-nonce]`),c=s?.nonce||s?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}o=l(i.map(i=>{if(i=t(i,a),i in n)return;n[i]=!0;let o=i.endsWith(`.css`),s=o?`[rel="stylesheet"]`:``;if(a)for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.href===i&&(!o||t.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;let l=document.createElement(`link`);if(l.rel=o?`stylesheet`:e,o||(l.as=`script`),l.crossOrigin=``,l.href=i,c&&l.setAttribute(`nonce`,c),document.head.appendChild(l),o)return new Promise((e,t)=>{l.addEventListener(`load`,e),l.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${i}`)))})}))}function s(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(e=>{for(let t of e||[])t.status===`rejected`&&s(t.reason);return r().catch(s)})};export{r as t};

View File

@@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./localSharedImportMap-BrxIqYlq.mjs","./dist-CXnzN4cY.mjs","./preload-helper-DYl5dUZ5.mjs","./virtualExposes-BsjVAkf0.mjs"])))=>i.map(i=>d[i]); const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./localSharedImportMap-CALnqYrs.mjs","./dist-r7AkbZvS.mjs","./preload-helper-DafEc2pQ.mjs","./virtualExposes-CZMUMkHF.mjs"])))=>i.map(i=>d[i]);
import{t as e}from"./dist-CXnzN4cY.mjs";import{t}from"./preload-helper-DYl5dUZ5.mjs";typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var n=`__mf_init____mf__virtual/maps__mf_v__runtimeInit__mf_v__.js__`,r=globalThis[n];if(!r){let e,t,i=new Promise((n,r)=>{e=n,t=r});r=globalThis[n]={initPromise:i,initResolve:e,initReject:t},typeof window>`u`&&e({loadRemote:function(){return Promise.resolve(void 0)},loadShare:function(){return Promise.resolve(void 0)}})}var i=r.initResolve,a={},o=`default`,s=`maps`,c,l;async function u(){return c??=t(()=>import(`./localSharedImportMap-BrxIqYlq.mjs`),__vite__mapDeps([0,1,2]),import.meta.url),c}async function d(){return l??=t(()=>import(`./virtualExposes-BsjVAkf0.mjs`).then(e=>e.default??e),__vite__mapDeps([3,2]),import.meta.url),l}async function f(t={},n=[]){let{usedShared:r,usedRemotes:c}=await u(),l=e({name:s,remotes:c,shared:r,plugins:[],shareStrategy:`version-first`});var d=a[o];if(d||=a[o]={from:s},!(n.indexOf(d)>=0)){n.push(d),l.initShareScopeMap(`default`,t),i(l);try{await Promise.all(await l.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))}catch(e){console.error(`[Module Federation]`,e)}return l}}async function p(e){let t=await d();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);return t[e]().then(e=>()=>e)}export{p as get,f as init}; import{t as e}from"./dist-r7AkbZvS.mjs";import{t}from"./preload-helper-DafEc2pQ.mjs";typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var n=`__mf_init____mf__virtual/maps__mf_v__runtimeInit__mf_v__.js__`,r=globalThis[n];if(!r){let e,t,i=new Promise((n,r)=>{e=n,t=r});r=globalThis[n]={initPromise:i,initResolve:e,initReject:t},typeof window>`u`&&e({loadRemote:function(){return Promise.resolve(void 0)},loadShare:function(){return Promise.resolve(void 0)}})}var i=r.initResolve,a={},o=`default`,s=`maps`,c,l;async function u(){return c??=t(()=>import(`./localSharedImportMap-CALnqYrs.mjs`),__vite__mapDeps([0,1,2]),import.meta.url),c}async function d(){return l??=t(()=>import(`./virtualExposes-CZMUMkHF.mjs`).then(e=>e.default??e),__vite__mapDeps([3,2]),import.meta.url),l}async function f(t={},n=[]){let{usedShared:r,usedRemotes:c}=await u(),l=e({name:s,remotes:c,shared:r,plugins:[],shareStrategy:`version-first`});var d=a[o];if(d||=a[o]={from:s},!(n.indexOf(d)>=0)){n.push(d),l.initShareScopeMap(`default`,t),i(l);try{await Promise.all(await l.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))}catch(e){console.error(`[Module Federation]`,e)}return l}}async function p(e){let t=await d();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);return t[e]().then(e=>()=>e)}export{p as get,f as init};

View File

@@ -0,0 +1 @@
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{c as n,o as t};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{t as e}from"./src-CIfRBuLG.mjs";export{e as default};

View File

@@ -1 +0,0 @@
import{t as e}from"./src-Bjkk5jHv.mjs";export{e as default};

View File

@@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../assets/src-CNZX96BL.css"])))=>i.map(i=>d[i]); const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../assets/src-D755RU42.css"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper-DYl5dUZ5.mjs";var t={},n=new Set;async function r(e){if(typeof document>`u`)return;let r=t[e]||[];await Promise.all(r.map(e=>{let t=new URL(e,import.meta.url).href;return n.has(t)||(n.add(t),document.querySelector(`link[rel="stylesheet"][data-mf-href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.setAttribute(`data-mf-href`,t),r.onload=()=>e(),r.onerror=()=>n(Error(`[Module Federation] Failed to load CSS asset: ${t}`)),document.head.appendChild(r)})}))}var i={".":async()=>{await r(`.`);let t=await e(()=>import(`./maps-z34tTD6Z.mjs`),__vite__mapDeps([0]),import.meta.url),n={};return Object.assign(n,t),Object.defineProperty(n,"__esModule",{value:!0,enumerable:!1}),n}};export{i as default}; import{t as e}from"./preload-helper-DafEc2pQ.mjs";var t={},n=new Set;async function r(e){if(typeof document>`u`)return;let r=t[e]||[];await Promise.all(r.map(e=>{let t=new URL(e,import.meta.url).href;return n.has(t)||(n.add(t),document.querySelector(`link[rel="stylesheet"][data-mf-href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.setAttribute(`data-mf-href`,t),r.onload=()=>e(),r.onerror=()=>n(Error(`[Module Federation] Failed to load CSS asset: ${t}`)),document.head.appendChild(r)})}))}var i={".":async()=>{await r(`.`);let t=await e(()=>import(`./maps-BAf8IhJ5.mjs`),__vite__mapDeps([0]),import.meta.url),n={};return Object.assign(n,t),Object.defineProperty(n,`__esModule`,{value:!0,enumerable:!1}),n}};export{i as default};

View File

@@ -1,7 +1,3 @@
{ {
"name": "web-app-maps", "entrypoint": "js/remoteEntry-lxWu31Tr.mjs"
"version": "3.1.0",
"description": "OpenCloud Web Maps",
"license": "AGPL-3.0",
"entrypoint": "js/remoteEntry-BXGAhFe2.mjs"
} }

View File

@@ -8,7 +8,6 @@ directives:
- 'wss://${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://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/' - 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
- 'https://update.opencloud.eu/' - 'https://update.opencloud.eu/'
- 'https://tile.openstreetmap.org/' - 'https://tile.openstreetmap.org/'
default-src: default-src:
@@ -26,7 +25,6 @@ directives:
- 'https://${EURO_OFFICE_DOMAIN|euro-office.opencloud.test}${TRAEFIK_PORT_HTTPS}/' - 'https://${EURO_OFFICE_DOMAIN|euro-office.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
# This is needed for the external-sites web extension when embedding sites # This is needed for the external-sites web extension when embedding sites
- 'https://docs.opencloud.eu' - 'https://docs.opencloud.eu'
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
img-src: img-src:
- '''self''' - '''self'''
- 'data:' - 'data:'
@@ -40,7 +38,6 @@ directives:
- '''self''' - '''self'''
media-src: media-src:
- '''self''' - '''self'''
- 'blob:'
object-src: object-src:
- '''self''' - '''self'''
- 'blob:' - 'blob:'
@@ -51,7 +48,6 @@ directives:
style-src: style-src:
- '''self''' - '''self'''
- '''unsafe-inline''' - '''unsafe-inline'''
- 'blob:'
worker-src: worker-src:
- "'self'" - "'self'"
- 'blob:' - 'blob:'

View File

@@ -1,13 +1,9 @@
# This adds additional routes to the proxy. Forwarding # This adds four additional routes to the proxy. Forwarding
# request on '/carddav/', '/caldav/' and the respective '/.well-knwown' # request on '/carddav/', '/caldav/' and the respective '/.well-knwown'
# endpoints to the radicale container and setting the required headers. # endpoints to the radicale container and setting the required headers.
# '/yjs' is forwarded to the yjs container.
additional_policies: additional_policies:
- name: default - name: default
routes: routes:
- endpoint: /yjs
backend: http://yjs:1234
unprotected: true
- endpoint: /caldav/ - endpoint: /caldav/
backend: http://radicale:5232 backend: http://radicale:5232
remote_user_header: X-Remote-User remote_user_header: X-Remote-User

View File

@@ -1,13 +1,13 @@
--- ---
services: services:
opencloud: opencloud:
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.2.0} # renovate: depName=opencloudeu/opencloud
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud}:${OC_DOCKER_TAG:-7.2.6}
# 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}
networks: networks:
opencloud-net: opencloud-net:
thumbnails-net:
entrypoint: entrypoint:
- /bin/sh - /bin/sh
# run opencloud init to initialize a configuration file with random secrets # run opencloud init to initialize a configuration file with random secrets
@@ -54,68 +54,15 @@ 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}
# 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:
# thumbnails are made by the thumbnails container below, webdav posts the images there
OC_EXCLUDE_RUN_SERVICES: thumbnails
WEBDAV_THUMBNAILS_GENERATOR_URL: http://thumbnails:9186
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/banned-password-list.txt:/etc/opencloud/banned-password-list.txt - ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt
# configure the .env file to use own paths instead of docker internal volumes # configure the .env file to use own paths instead of docker internal volumes
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
- ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud - ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud
- ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps - ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps
depends_on:
thumbnails:
condition: service_healthy
logging:
driver: ${LOG_DRIVER:-local}
restart: always
# The built-in thumbnails service runs in its own container, so decoding untrusted
# images happens without access to the config, the secrets or the data of OpenCloud.
# It has no authentication, so it is only reachable on the internal thumbnails-net.
# Do NOT publish a port or expose it via the reverse proxy.
thumbnails:
# same image as opencloud, keep both tags in sync
# renovate: depName=opencloudeu/opencloud-rolling
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.1.0}
user: ${OC_CONTAINER_UID_GID:-1000:1000}
command: ["thumbnails", "server"]
environment:
THUMBNAILS_HTTP_ADDR: 0.0.0.0:9186
# webdav finds the service by WEBDAV_THUMBNAILS_GENERATOR_URL, there is no nats to register with
MICRO_REGISTRY: memory
OC_LOG_LEVEL: ${LOG_LEVEL:-info}
OC_LOG_COLOR: "${LOG_PRETTY:-false}"
OC_LOG_PRETTY: "${LOG_PRETTY:-false}"
networks:
thumbnails-net:
read_only: true
tmpfs:
- /tmp:size=256m
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "opencloud", "thumbnails", "health"]
interval: 5s
timeout: 5s
retries: 10
start_period: 5s
logging: logging:
driver: ${LOG_DRIVER:-local} driver: ${LOG_DRIVER:-local}
restart: always restart: always
@@ -126,5 +73,3 @@ volumes:
networks: networks:
opencloud-net: opencloud-net:
thumbnails-net:
internal: true

View File

@@ -28,8 +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.
# thumbnails runs in its own container, see docker-compose.yml OC_EXCLUDE_RUN_SERVICES: idm,idp
OC_EXCLUDE_RUN_SERVICES: idm,idp,thumbnails
# 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"

View File

@@ -19,8 +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.
# thumbnails runs in its own container, see docker-compose.yml OC_EXCLUDE_RUN_SERVICES: idm,idp
OC_EXCLUDE_RUN_SERVICES: idm,idp,thumbnails
# 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"
@@ -65,7 +64,7 @@ services:
restart: always restart: always
postgres: postgres:
image: postgres:17.12-alpine image: postgres:17.10-alpine
networks: networks:
opencloud-net: opencloud-net:
volumes: volumes:
@@ -79,7 +78,7 @@ services:
restart: always restart: always
keycloak: keycloak:
image: quay.io/keycloak/keycloak:26.8.2 image: quay.io/keycloak/keycloak:26.6.4
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

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

View File

@@ -7,3 +7,7 @@ services:
# if OpenCloud runs as a single process, all <debug>/metrics endpoints # if OpenCloud runs as a single process, all <debug>/metrics endpoints
# will expose the same metrics, so it's sufficient to query one endpoint # will expose the same metrics, so it's sufficient to query one endpoint
PROXY_DEBUG_ADDR: 0.0.0.0:9205 PROXY_DEBUG_ADDR: 0.0.0.0:9205
networks:
opencloud-net:
external: true

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:-v3.9.2} image: ${RADICALE_DOCKER_IMAGE:-opencloudeu/radicale}:${RADICALE_DOCKER_TAG:-latest}
user: ${OC_CONTAINER_UID_GID:-1000:1000} user: ${OC_CONTAINER_UID_GID:-1000:1000}
networks: networks:
opencloud-net: opencloud-net:

View File

@@ -1,44 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"platformAutomerge": true,
"enabledManagers": ["docker-compose", "custom.regex"],
"baseBranchPatterns": ["main", "stable-4.0", "stable-7.2", "stable-9.1"],
"packageRules": [
{
"matchManagers": ["docker-compose", "custom.regex"],
"labels": ["Type:Dependencies", "Bot:Renovate"]
},
{
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"matchBaseBranches": ["stable-4.0", "stable-7.2", "stable-9.1"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"matchPackageNames": ["ghcr.io/euro-office/documentserver"],
"schedule": ["* 0-3 * * 1"]
},
{
"matchPackageNames": ["postgres"],
"matchManagers": ["docker-compose"],
"allowedVersions": "/^17\\.\\d+-alpine$/"
}
],
"docker-compose": {
"managerFilePatterns": ["/.+\\.ya?ml$/"]
},
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/.+\\.ya?ml$/"],
"matchStrings": [
"image: \\$\\{[^}:]+:-(?<depName>[^}]+)\\}:\\$\\{[^}:]+:-(?<currentValue>[^@}]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\\}"
],
"datasourceTemplate": "docker"
}
]
}

View File

@@ -1,59 +0,0 @@
---
services:
opencloud:
environment:
# Point the search service at OpenSearch instead of the embedded bleve index.
SEARCH_ENGINE_TYPE: open-search
SEARCH_ENGINE_OPEN_SEARCH_CLIENT_ADDRESSES: http://opensearch:9200
SEARCH_ENGINE_OPEN_SEARCH_CLIENT_INSECURE: "true"
SEARCH_ENGINE_OPEN_SEARCH_RESOURCE_INDEX_NAME: ${OPENSEARCH_RESOURCE_INDEX:-opencloud-resources}
depends_on:
opensearch:
condition: service_healthy
opensearch:
image: ${OPENSEARCH_DOCKER_IMAGE:-opensearchproject/opensearch}:${OPENSEARCH_DOCKER_TAG:-2.19.5}
environment:
discovery.type: single-node
bootstrap.memory_lock: "true"
OPENSEARCH_JAVA_OPTS: ${OPENSEARCH_JAVA_OPTS:--Xms512m -Xmx512m}
# Security plugin is disabled: OpenSearch is only reachable on the
# internal opencloud-net bridge and no port is published to the host.
# Do NOT enable a published port or expose this via the reverse proxy
# without first enabling and configuring the security plugin.
DISABLE_SECURITY_PLUGIN: "true"
DISABLE_INSTALL_DEMO_CONFIG: "true"
# Disable the disk-based shard allocation watermarks. By default OpenSearch
# marks indices read-only when the host disk is <5% free, which silently
# turns bulk upserts into no-ops. Fine to disable on a single-node dev box.
cluster.routing.allocation.disk.threshold_enabled: "false"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
networks:
opencloud-net:
volumes:
- ${OPENSEARCH_DATA_DIR:-opensearch-data}:/usr/share/opensearch/data
healthcheck:
# Single-node clusters can't go green (replicas have nowhere to land), so
# yellow is the healthy state. Still gates opencloud until opensearch accepts
# requests.
test:
[
"CMD-SHELL",
"curl -sf 'http://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=5s' > /dev/null || exit 1"
]
interval: 5s
timeout: 10s
retries: 24
start_period: 60s
logging:
driver: ${LOG_DRIVER:-local}
restart: always
volumes:
opensearch-data:

View File

@@ -1,9 +1,7 @@
--- ---
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_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-4.2.0}${TIKA_DOCKER_VARIANT:+-}${TIKA_DOCKER_VARIANT:-} image: ${TIKA_IMAGE:-apache/tika:latest}
# 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
@@ -13,18 +11,6 @@ services:
restart: always restart: always
logging: logging:
driver: ${LOG_DRIVER:-local} driver: ${LOG_DRIVER:-local}
healthcheck:
test:
[
"CMD",
"bash",
"-c",
"exec 3<>/dev/tcp/127.0.0.1/9998 && printf 'GET /tika HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n\r\n' >&3 && grep '200 OK' <&3",
]
interval: 5s
timeout: 5s
retries: 10
start_period: 5s
opencloud: opencloud:
environment: environment:
@@ -32,6 +18,3 @@ services:
SEARCH_EXTRACTOR_TYPE: tika SEARCH_EXTRACTOR_TYPE: tika
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998 SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true" FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"
depends_on:
tika:
condition: service_healthy

View File

@@ -1,7 +1,7 @@
--- ---
services: services:
postgres: postgres:
image: postgres:17.12-alpine image: postgres:17.10-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.6.4
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: ${LDAP_MANAGER_DOCKER_IMAGE:-phpldapadmin/phpldapadmin}:${LDAP_MANAGER_DOCKER_TAG:-2.3.13} image: phpldapadmin/phpldapadmin:latest
networks: networks:
opencloud-net: opencloud-net:
environment: environment:

View File

@@ -1,51 +0,0 @@
---
services:
imagor:
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.5}
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:
# replaces the thumbnails container, so opencloud must not wait for it
depends_on: !override
imagor:
condition: service_healthy
# imagor replaces the built-in thumbnails container. Scaling it to 0 also stops
# it when imagor is added to an existing deployment.
thumbnails:
deploy:
replicas: 0
networks:
imagor-net:
internal: true

View File

@@ -3,7 +3,6 @@ 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"
@@ -17,7 +16,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.8.0 image: traefik:v3.6.14
# 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

@@ -64,8 +64,6 @@ services:
--o:ssl.enable=${COLLABORA_SSL_ENABLE:-true} --o:ssl.enable=${COLLABORA_SSL_ENABLE:-true}
--o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} --o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true}
--o:ssl.termination=true --o:ssl.termination=true
--o:remote_links.enable=true
--o:server_name=${COLLABORA_DOMAIN:-collabora.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
--o:welcome.enable=false --o:welcome.enable=false
--o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} --o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
--o:net.lok_allow.host[14]=${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} --o:net.lok_allow.host[14]=${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}

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@sha256:2fadc1b3dc99250d6576fc0c0f34349db6725b752b08e91db9831fbb803fc5c2} image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest}
# changelog https://github.com/EURO-office/DocumentServer/releases # changelog https://github.com/EURO-office/DocumentServer/releases
networks: networks:
opencloud-net: opencloud-net:
@@ -32,7 +32,6 @@ services:
WOPI_ENABLED: "true" WOPI_ENABLED: "true"
# self-signed certificates # self-signed certificates
USE_UNAUTHORIZED_STORAGE: "${INSECURE:-false}" USE_UNAUTHORIZED_STORAGE: "${INSECURE:-false}"
JWT_SECRET: "${EURO_OFFICE_JWT_SECRET}"
volumes: volumes:
# Mount local TrueType fonts so the container can use system fonts # Mount local TrueType fonts so the container can use system fonts
# (e.g. Microsoft fonts like Arial, Calibri, Cambria by installing the `ttf-mscorefonts-installer` package). # (e.g. Microsoft fonts like Arial, Calibri, Cambria by installing the `ttf-mscorefonts-installer` package).

View File

@@ -1,22 +0,0 @@
---
services:
opencloud:
environment:
WEB_OPTION_YJS_SERVER_URL: wss://${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}/yjs
volumes:
# the /yjs route is configured in the proxy
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
yjs:
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.1}
user: ${OC_CONTAINER_UID_GID:-1000:1000}
networks:
opencloud-net:
environment:
PORT: '1234'
# internal address, no TLS between the containers
OPENCLOUD_URL: ${YJS_OPENCLOUD_URL:-http://opencloud:9200}
SHUTDOWN_GRACE_PERIOD_MS: '${YJS_SHUTDOWN_GRACE_PERIOD_MS:-15000}'
logging:
driver: ${LOG_DRIVER:-local}
restart: always
stop_grace_period: 20s