Compare commits

...

19 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
dd58b4a9a2 add imagor as thumbnail generator
thumbnails/imagor.yml runs ghcr.io/cshum/imagor-magick and points
WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in thumbnails service
is no longer started, it is going to lose libvips and with it most
formats. All COMPOSE_FILE examples include the new file.

imagor only gets unsigned /unsafe/ URLs from webdav, so it must only be
reachable on opencloud-net. It is configured with the same limits as
the built-in service and only accepts uploads, it never fetches URLs.

On top of the built-in list we announce previews for heic, heif, avif,
jp2, psd, tga, pcx, svg and ico. I checked each against a running
stack. pdf is read by imagor, but webdav 9.0.0 only passes image types
to the generator. jxl ends up as application/octet-stream in reva, so
it would need a mime mapping first.

OC_EXCLUDE_RUN_SERVICES is now set by imagor.yml and the idm files, and
compose keeps only the value of the last file. Each file prepends the
new EXCLUDE_ADDITIONAL_SERVICES, so combining them works when it lists
all of them: EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails

related: https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-09 16:20:41 +01:00
Jörn Friedrich Dreyer
f8ec109795 bump opencloud to 9.0.0
9.0.0 moves the thumbnails to a push based architecture: webdav posts
the image to a generator URL, which can be the built-in thumbnails
service or a real imagor. We need that to let imagor make the
thumbnails, the built-in service will drop libvips.

None of the 9.0.0 upgrade steps apply to the compose defaults: the
thumbnail cache moves to thumbnails/cache by itself, guest links stay
disabled until enabled, and we set neither GRAPH_SPACES_DEFAULT_QUOTA
nor any thumbnails yaml keys.

related: https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-09 16:20:41 +01:00
renovate[bot]
c957c36b5c chore(deps): update traefik docker tag to v3.7.14 (#398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-12 11:58:19 +02:00
renovate[bot]
e184a8884c chore(deps): update collabora/code docker tag to v26.04.5.1.1 (#400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-12 11:57:30 +02:00
Viktor Scharf
d6efecf176 Merge pull request #397 from opencloud-eu/renovate/main-opencloudeu-opencloud-rolling-8.x
chore(deps): update opencloudeu/opencloud-rolling docker tag to v8.1.0 (main)
2026-10-05 21:59:11 +02:00
renovate[bot]
05b2aefa97 chore(deps): update opencloudeu/opencloud-rolling docker tag to v8.1.0 2026-10-05 19:58:28 +00:00
Benedikt Kulmann
34555ec2db Merge pull request #396 from opencloud-eu/renovate/main-opencloudeu-yjs-1.x
chore(deps): update opencloudeu/yjs docker tag to v1.1.0 (main)
2026-10-05 16:35:34 +02:00
renovate[bot]
0cd92a3d59 chore(deps): update opencloudeu/yjs docker tag to v1.1.0 2026-10-05 14:19:12 +00:00
Benedikt Kulmann
2d423cca0c Merge pull request #395 from opencloud-eu/chore/yjs-version-default
chore: instruct renovate to bump the yjs server image
2026-10-05 16:18:20 +02:00
Jannik Stehle
a38dc348f4 chore: instruct renovate to bump the yjs server image 2026-10-05 16:08:52 +02:00
renovate[bot]
e6ae9deb4f chore(deps): update alpine/openssl docker tag to v3.5.9 (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:52:19 +02:00
renovate[bot]
8f80c01d7e chore(deps): update collabora/code docker tag to v26.04.4.2.1 (#386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:50:12 +02:00
renovate[bot]
55ee3523a0 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.0 (#385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:49:27 +02:00
renovate[bot]
53e3c0d95b chore(deps): update traefik docker tag to v3.7.13 (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-05 10:45:15 +02:00
Viktor Scharf
87e3c61615 Merge pull request #384 from opencloud-eu/flimmy-patch-1
chore(deps): update opencloud-rolling docker tag to v8.0.1
2026-09-16 16:45:21 +02:00
Michael Flemming
2d992b77de chore(deps): update opencloud-rolling docker tag to v8.0.1
renovate is too slow, it uses a cached response from docker.io.
Image is available and tested.
2026-09-16 16:42:26 +02:00
renovate[bot]
81e347d300 chore(deps): update opencloudeu/opencloud-rolling docker tag to v8 (#381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 15:31:30 +02:00
Jannik Stehle
fcfc216f16 feat: add yjs collaboration service (#380) 2026-09-15 15:29:49 +02:00
renovate[bot]
2b10bd8cb9 chore(deps): update collabora/code docker tag to v26.04.3.2.1 (#375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-01 09:43:36 +02:00
12 changed files with 181 additions and 18 deletions

View File

@@ -10,24 +10,24 @@ INSECURE=true
## Features ##
# 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
#COMPOSE_FILE=docker-compose.yml:traefik/opencloud.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:traefik/opencloud.yml
# 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`
# Default: OpenCloud and Collabora with traefik and letsencypt
# This needs DNS entries for the domain names used in the .env file.
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
# 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.
# The domain names need to be entered into the .env file.
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
# Keycloak Shared User Directory
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
# External IDP
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/external-idp.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/external-idp.yml
# Euro Office with traefik and letsencrypt
#COMPOSE_FILE=docker-compose.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/euro-office.yml:traefik/opencloud.yml:traefik/euro-office.yml
# Euro Office with external proxy (Nginx, Caddy, etc.)
#COMPOSE_FILE=docker-compose.yml:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.yml:weboffice/euro-office.yml:external-proxy/opencloud.yml:external-proxy/euro-office.yml
## Traefik Settings ##
# Note: Traefik is always enabled and can't be disabled.
@@ -193,6 +193,14 @@ SMTP_INSECURE=
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
START_ADDITIONAL_SERVICES=""
# Services that must not be started, comma separated.
# The compose files that replace a built-in service exclude it themselves, but docker
# compose only keeps the value of the last file in COMPOSE_FILE. When combining
# thumbnails/imagor.yml with idm/ldap-keycloak.yml or idm/external-idp.yml, list
# all of them here, so the result does not depend on the order of the files:
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
EXCLUDE_ADDITIONAL_SERVICES=""
## Default Enabled Services ##
@@ -210,6 +218,28 @@ START_ADDITIONAL_SERVICES=""
# like advanced OCR or specific image processing capabilities.
TIKA_IMAGE=
### Imagor Thumbnail Generator ###
# Imagor makes the thumbnails when thumbnails/imagor.yml is in COMPOSE_FILE, which all
# examples above do. Without it, the thumbnails service built into OpenCloud is used,
# which only supports a minimal set of formats.
# Image of the imagor container. The magick variant is needed to read ICO files.
# Defaults to "ghcr.io/cshum/imagor-magick"
IMAGOR_DOCKER_IMAGE=
# Defaults to "1.9.11"
IMAGOR_DOCKER_TAG=
# Mime types a preview is attempted for on top of the built-in list
# (png, jpeg, gif, webp, bmp, tiff, text, audio covers and geogebra).
# Defaults to "image/heic,image/heif,image/avif,image/jp2,image/vnd.adobe.photoshop,image/x-tga,image/x-pcx,image/svg+xml,image/x-icon,image/vnd.microsoft.icon"
IMAGOR_ADDITIONAL_SOURCE_TYPES=
# Maximum size of an image a thumbnail is made of, in bytes. Used by OpenCloud and imagor.
# Defaults to "50000000"
IMAGOR_MAX_INPUT_FILE_SIZE=
# Maximum width, height and number of animation frames of a source image.
# Default to "7680", "7680" and "100"
IMAGOR_MAX_WIDTH=
IMAGOR_MAX_HEIGHT=
IMAGOR_MAX_ANIMATION_FRAMES=
### IMPORTANT Note for Online Office Apps ###
# To avoid app interlocking issues, you should select only one app to be active/configured.
# This is due the fact that there is currently no app interlocking for the same file and one
@@ -383,9 +413,23 @@ KC_DB_PASSWORD=
# - ./config/ldap/ldif/30_demo_users.ldif:/ldifs/30_demo_users.ldif
# - ./config/ldap/ldif/40_demo_groups.ldif:/ldifs/40_demo_groups.ldif
#
# 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
# 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
# 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.
#YJS_DOCKER_IMAGE=opencloudeu/yjs
# Docker tag to pull for the yjs container.
#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=
### Radicale Setting ###
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated

View File

@@ -195,6 +195,43 @@ By default, OpenCloud Compose uses `apache/tika:latest` which provides:
The base variant is recommended for most use cases. If you need advanced features like specialized OCR processing or specific image format support, you can override the image by setting `TIKA_IMAGE=apache/tika:latest-full` in your `.env` file.
### With Imagor Thumbnails
[Imagor](https://imagor.net) makes the thumbnails instead of the thumbnails service built into OpenCloud, which only supports a minimal set of formats. All `COMPOSE_FILE` examples in `.env.example` include it.
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:
- the `ghcr.io/cshum/imagor-magick` image, which is only reachable on the internal network
- previews for HEIC, HEIF, AVIF, JPEG 2000, PSD, TGA, PCX, SVG and ICO files on top of the built-in formats, configurable with `IMAGOR_ADDITIONAL_SOURCE_TYPES`
- the built-in thumbnails service is not started
`thumbnails/imagor.yml` and the `idm/` files each set `OC_EXCLUDE_RUN_SERVICES`, and docker compose only keeps the value of the last file. When combining them, set `EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails` in `.env`.
### 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
Enable CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
@@ -406,6 +443,8 @@ Key variables:
| `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver |
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
| `IMAGOR_DOCKER_TAG` | Imagor image tag | 1.9.11 |
| `EXCLUDE_ADDITIONAL_SERVICES` | Services not to start, see imagor and idm sections | (no value) |
| `KEYCLOAK_DOMAIN` | Keycloak domain | keycloak.opencloud.test |
| `KEYCLOAK_ADMIN` | Keycloak admin username | kcadmin |
| `KEYCLOAK_ADMIN_PASSWORD` | Keycloak admin password | admin |
@@ -461,11 +500,13 @@ This repository uses a modular approach with multiple compose files:
- `weboffice/` - Web office integrations (Collabora Online)
- `storage/` - Storage backend configurations (decomposeds3)
- `search/` - Search and content analysis services (Apache Tika)
- `thumbnails/` - Thumbnail generator (imagor)
- `monitoring/` - Monitoring and metrics configurations
- `idm/` - Identity management configurations (Keycloak & LDAP)
- `traefik/` - Traefik reverse proxy configurations
- `external-proxy/` - Configuration for external reverse proxies
- `radicale/` - Radicale configuration
- `yjs/` - Yjs server configuration (collaborative editing)
- `config/` - Configuration files for OpenCloud, Keycloak, and LDAP
## Advanced Usage

View File

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

View File

@@ -2,7 +2,7 @@
services:
opencloud:
# renovate: depName=opencloudeu/opencloud-rolling
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-7.5.0}
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.0.0}
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
user: ${OC_CONTAINER_UID_GID:-1000:1000}

View File

@@ -28,7 +28,9 @@ services:
PROXY_ROLE_ASSIGNMENT_DRIVER: ${PROXY_ROLE_ASSIGNMENT_DRIVER:-oidc}
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.
OC_EXCLUDE_RUN_SERVICES: idm,idp
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
# thumbnails/imagor.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}idm,idp
# IdP specific configuration for auto-provisioning
OC_LDAP_SERVER_WRITE_ENABLED: "true"
PROXY_AUTOPROVISION_ACCOUNTS: "true"

View File

@@ -19,7 +19,9 @@ services:
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
# This specifies to start all services except idm and idp. These are replaced by external services.
OC_EXCLUDE_RUN_SERVICES: idm,idp
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
# thumbnails/imagor.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}idm,idp
# Keycloak IDP specific configuration
PROXY_AUTOPROVISION_ACCOUNTS: "false"
PROXY_ROLE_ASSIGNMENT_DRIVER: "oidc"
@@ -78,7 +80,7 @@ services:
restart: always
keycloak:
image: quay.io/keycloak/keycloak:26.7.3
image: quay.io/keycloak/keycloak:26.8.0
networks:
opencloud-net:
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]

View File

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

View File

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

45
thumbnails/imagor.yml Normal file
View File

@@ -0,0 +1,45 @@
---
services:
opencloud:
environment:
# webdav posts the image to imagor instead of the built-in thumbnails service
WEBDAV_THUMBNAILS_GENERATOR_URL: http://imagor:8000
# announce previews for the formats imagor-magick reads on top of the built-in list
OC_THUMBNAILS_ADDITIONAL_SOURCE_TYPES: ${IMAGOR_ADDITIONAL_SOURCE_TYPES:-image/heic,image/heif,image/avif,image/jp2,image/vnd.adobe.photoshop,image/x-tga,image/x-pcx,image/svg+xml,image/x-icon,image/vnd.microsoft.icon}
# in bytes, the same value is handed to imagor below so both refuse the same files
OC_THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE: "${IMAGOR_MAX_INPUT_FILE_SIZE:-50000000}"
# the built-in thumbnails service is not needed when imagor makes the thumbnails
# compose takes this value from the last file in COMPOSE_FILE, so when combining with
# idm/ldap-keycloak.yml or idm/external-idp.yml set EXCLUDE_ADDITIONAL_SERVICES=idm,idp,thumbnails
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}thumbnails
depends_on:
imagor:
condition: service_healthy
imagor:
# renovate: depName=ghcr.io/cshum/imagor-magick
image: ${IMAGOR_DOCKER_IMAGE:-ghcr.io/cshum/imagor-magick}:${IMAGOR_DOCKER_TAG:-1.9.11}
networks:
opencloud-net:
environment:
# webdav only sends unsigned /unsafe/ URLs. imagor is only reachable on the
# internal opencloud-net bridge and no port is published to the host.
# Do NOT publish a port or expose imagor via the reverse proxy.
IMAGOR_UNSAFE: "true"
# webdav posts the image, imagor must not fetch anything by itself
UPLOAD_LOADER_ENABLE: "true"
HTTP_LOADER_DISABLE: "true"
# quoted, an unquoted large number reaches imagor as 5e+07 which it cannot parse
UPLOAD_LOADER_MAX_ALLOWED_SIZE: "${IMAGOR_MAX_INPUT_FILE_SIZE:-50000000}"
# the limits of the built-in thumbnails service
VIPS_MAX_WIDTH: ${IMAGOR_MAX_WIDTH:-7680}
VIPS_MAX_HEIGHT: ${IMAGOR_MAX_HEIGHT:-7680}
VIPS_MAX_ANIMATION_FRAMES: ${IMAGOR_MAX_ANIMATION_FRAMES:-100}
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8000/healthcheck"]
interval: 5s
timeout: 5s
retries: 12
logging:
driver: ${LOG_DRIVER:-local}
restart: always

View File

@@ -16,7 +16,7 @@ services:
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
traefik:
image: traefik:v3.7.12
image: traefik:v3.7.14
# release notes: https://github.com/traefik/traefik/releases
user: ${TRAEFIK_CONTAINER_UID_GID:-0:0}
networks:

View File

@@ -29,7 +29,7 @@ services:
# To rotate the key, remove the volume and start again:
# docker compose down collabora && docker volume rm <project>_collabora-proof-key
collabora-proof-key:
image: alpine/openssl:3.5.8
image: alpine/openssl:3.5.9
entrypoint: ["/bin/sh"]
command:
- -ec
@@ -50,7 +50,7 @@ services:
restart: "no"
collabora:
image: collabora/code:26.04.3.1.1
image: collabora/code:26.04.5.1.1
# release notes: https://www.collaboraonline.com/release-notes/
networks:
opencloud-net:

23
yjs/yjs.yml Normal file
View File

@@ -0,0 +1,23 @@
---
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:
# renovate: depName=opencloudeu/yjs
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.0}
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