mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 09:53:13 +08:00
Compare commits
27 Commits
dd58b4a9a2
...
9b9bd35745
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b9bd35745 | ||
|
|
7f28d0e715 | ||
|
|
160edb01f6 | ||
|
|
d4695d2356 | ||
|
|
0c4e9c631c | ||
|
|
1e170e1862 | ||
|
|
4b6c589673 | ||
|
|
1422fa6767 | ||
|
|
b3ca76d674 | ||
|
|
24414ae9ab | ||
|
|
3c0e1b9138 | ||
|
|
6e09e69071 | ||
|
|
f2e4e0999f | ||
|
|
130dd6d6f6 | ||
|
|
d30f58b8bf | ||
|
|
cc36787927 | ||
|
|
ddbb854172 | ||
|
|
84ac4eaf63 | ||
|
|
91911a5883 | ||
|
|
167db12b17 | ||
|
|
07ddf43180 | ||
|
|
481cd8061c | ||
|
|
28348eec54 | ||
|
|
719633aeda | ||
|
|
d7f0118adb | ||
|
|
b1588f2318 | ||
|
|
c5c3fbdb89 |
70
.env.example
70
.env.example
@@ -21,9 +21,13 @@ INSECURE=true
|
|||||||
# 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:thumbnails/imagor.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
|
# Keycloak Shared User Directory
|
||||||
|
# Combined with thumbnails/imagor.yml this also needs EXCLUDE_ADDITIONAL_SERVICES, see below.
|
||||||
#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
|
#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
|
||||||
|
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
||||||
# External IDP
|
# External IDP
|
||||||
|
# Combined with thumbnails/imagor.yml this also needs EXCLUDE_ADDITIONAL_SERVICES, see below.
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.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
|
||||||
|
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
||||||
# Euro Office with traefik and letsencrypt
|
# Euro Office with traefik and letsencrypt
|
||||||
#COMPOSE_FILE=docker-compose.yml:yjs/yjs.yml:thumbnails/imagor.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.)
|
# Euro Office with external proxy (Nginx, Caddy, etc.)
|
||||||
@@ -197,9 +201,12 @@ START_ADDITIONAL_SERVICES=""
|
|||||||
# The compose files that replace a built-in service exclude it themselves, but docker
|
# 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
|
# 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
|
# 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:
|
# all of them here:
|
||||||
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
#EXCLUDE_ADDITIONAL_SERVICES="idm,idp,thumbnails"
|
||||||
EXCLUDE_ADDITIONAL_SERVICES=""
|
# Without it the order in COMPOSE_FILE decides. Keep thumbnails/imagor.yml before the
|
||||||
|
# idm file, as in the examples above: then only the idle built-in thumbnails service
|
||||||
|
# keeps running. The other way round idm and idp are started again, next to Keycloak
|
||||||
|
# or the external IdP.
|
||||||
|
|
||||||
|
|
||||||
## Default Enabled Services ##
|
## Default Enabled Services ##
|
||||||
@@ -218,27 +225,33 @@ EXCLUDE_ADDITIONAL_SERVICES=""
|
|||||||
# like advanced OCR or specific image processing capabilities.
|
# like advanced OCR or specific image processing capabilities.
|
||||||
TIKA_IMAGE=
|
TIKA_IMAGE=
|
||||||
|
|
||||||
### Imagor Thumbnail Generator ###
|
### imagor Preview Generator ###
|
||||||
# Imagor makes the thumbnails when thumbnails/imagor.yml is in COMPOSE_FILE, which all
|
# imagor renders previews through libvips, which reads formats the built-in
|
||||||
# examples above do. Without it, the thumbnails service built into OpenCloud is used,
|
# generator does not, heic, heif and avif among them.
|
||||||
# which only supports a minimal set of formats.
|
# Needs OpenCloud 9.0.0 or newer.
|
||||||
# Image of the imagor container. The magick variant is needed to read ICO files.
|
# Enable it by adding thumbnails/imagor.yml to the COMPOSE_FILE variable, which all
|
||||||
# Defaults to "ghcr.io/cshum/imagor-magick"
|
# examples above do, or by using the following command:
|
||||||
IMAGOR_DOCKER_IMAGE=
|
# docker compose -f docker-compose.yml -f thumbnails/imagor.yml up -d
|
||||||
# Defaults to "1.9.11"
|
# imagor then makes all thumbnails and the built-in thumbnails service is not started.
|
||||||
IMAGOR_DOCKER_TAG=
|
# Docker image to use for the imagor container. Defaults to "shumc/imagor".
|
||||||
# Mime types a preview is attempted for on top of the built-in list
|
# "ghcr.io/cshum/imagor-magick" adds ImageMagick for formats libvips does not read,
|
||||||
# (png, jpeg, gif, webp, bmp, tiff, text, audio covers and geogebra).
|
# PSD, XCF and BMP among them. Slower, more memory and a larger attack surface,
|
||||||
# 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 recommends the standard image for most setups.
|
||||||
IMAGOR_ADDITIONAL_SOURCE_TYPES=
|
#IMAGOR_DOCKER_IMAGE=
|
||||||
# Maximum size of an image a thumbnail is made of, in bytes. Used by OpenCloud and imagor.
|
# Docker tag to pull for the imagor container. Defaults to "1.10.4".
|
||||||
# Defaults to "50000000"
|
#IMAGOR_DOCKER_TAG=
|
||||||
IMAGOR_MAX_INPUT_FILE_SIZE=
|
# Largest source image a thumbnail is made of, in bytes. Used by OpenCloud and imagor,
|
||||||
# Maximum width, height and number of animation frames of a source image.
|
# so both refuse the same files. Defaults to "50000000".
|
||||||
# Default to "7680", "7680" and "100"
|
#IMAGOR_MAX_SOURCE_SIZE=
|
||||||
IMAGOR_MAX_WIDTH=
|
# Largest width, height and number of animation frames of a source image.
|
||||||
IMAGOR_MAX_HEIGHT=
|
# Default to "7680", "7680" and "100", the limits of the built-in thumbnails service.
|
||||||
IMAGOR_MAX_ANIMATION_FRAMES=
|
#IMAGOR_MAX_WIDTH=
|
||||||
|
#IMAGOR_MAX_HEIGHT=
|
||||||
|
#IMAGOR_MAX_ANIMATION_FRAMES=
|
||||||
|
# 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.
|
||||||
@@ -430,6 +443,17 @@ KC_DB_PASSWORD=
|
|||||||
# Keep it below the stop_grace_period set in yjs/yjs.yml.
|
# Keep it below the stop_grace_period set in yjs/yjs.yml.
|
||||||
#YJS_SHUTDOWN_GRACE_PERIOD_MS=
|
#YJS_SHUTDOWN_GRACE_PERIOD_MS=
|
||||||
|
|
||||||
|
### Guest Links Settings ###
|
||||||
|
# Guest links let users share files with an email address that has no account.
|
||||||
|
# The guest gets the link and later a PIN by email, so this needs a working
|
||||||
|
# notifications service: add "notifications" to START_ADDITIONAL_SERVICES and
|
||||||
|
# set at least SMTP_HOST, SMTP_PORT and SMTP_SENDER in the SMTP settings above.
|
||||||
|
# Existing installations: add the auth-guest service account to the config by
|
||||||
|
# running "opencloud init --diff" and applying the patch it writes to
|
||||||
|
# /etc/opencloud/opencloud.config.patch.
|
||||||
|
# Defaults to "false"
|
||||||
|
#OC_ENABLE_GUEST_LINKS=true
|
||||||
|
|
||||||
### Radicale Setting ###
|
### Radicale Setting ###
|
||||||
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
|
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
|
||||||
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
|
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -15,6 +15,7 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
- **Euro Office** integration for document editing
|
- **Euro Office** integration for document editing
|
||||||
- **Keycloak and LDAP** integration for centralized identity management
|
- **Keycloak and LDAP** integration for centralized identity management
|
||||||
- **Full text search** with Apache Tika for content extraction and metadata analysis
|
- **Full text search** with Apache Tika for content extraction and metadata analysis
|
||||||
|
- **HEIC, HEIF and AVIF previews** with imagor
|
||||||
- **Monitoring** with metrics endpoints for observability and performance monitoring
|
- **Monitoring** with metrics endpoints for observability and performance monitoring
|
||||||
- **Radicale** integration for Calendar and Contacts
|
- **Radicale** integration for Calendar and Contacts
|
||||||
- **ClamAV** antivirus scanning with ClamAV
|
- **ClamAV** antivirus scanning with ClamAV
|
||||||
@@ -195,9 +196,11 @@ 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.
|
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
|
### With imagor Previews
|
||||||
|
|
||||||
[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.
|
The OpenCloud image ships no libheif on purpose, so a heic, heif or avif is refused with `406 unreadable image`. imagor reads those formats. Enable it using either method:
|
||||||
|
|
||||||
|
> **Version Requirement**: This setup needs OpenCloud 9.0.0 or newer.
|
||||||
|
|
||||||
Using `-f` flags:
|
Using `-f` flags:
|
||||||
```bash
|
```bash
|
||||||
@@ -210,11 +213,17 @@ COMPOSE_FILE=docker-compose.yml:thumbnails/imagor.yml:traefik/opencloud.yml
|
|||||||
```
|
```
|
||||||
|
|
||||||
This setup includes:
|
This setup includes:
|
||||||
- the `ghcr.io/cshum/imagor-magick` image, which is only reachable on the internal network
|
- imagor as the preview generator OpenCloud posts source images to
|
||||||
- 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`
|
- Previews for heic, heif and avif files, including image sequences, in the file list and the preview app
|
||||||
- the built-in thumbnails service is not started
|
- imagor on an internal network without a route to the outside, with a read-only filesystem and no capabilities
|
||||||
|
- imagor makes all thumbnails, 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`.
|
Set `THUMBNAILS_ADDITIONAL_SOURCE_TYPES` in `.env` to announce previews for further formats imagor reads. All `COMPOSE_FILE` examples in `.env.example` include `thumbnails/imagor.yml`.
|
||||||
|
|
||||||
|
`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`. Without it the order in `COMPOSE_FILE` decides, so keep `thumbnails/imagor.yml` before the `idm/` file: then only the idle built-in thumbnails service keeps running. The other way round idm and idp are started again next to Keycloak or the external IdP.
|
||||||
|
|
||||||
|
**ImageMagick Variant:**
|
||||||
|
libvips does not read PSD, XCF, BMP and some legacy formats. The `ghcr.io/cshum/imagor-magick` image adds ImageMagick for those. It is slower, needs more memory and widens the attack surface, so imagor recommends the standard image for most setups. To use it anyway, set `IMAGOR_DOCKER_IMAGE=ghcr.io/cshum/imagor-magick` in your `.env` file and add the mime types to `THUMBNAILS_ADDITIONAL_SOURCE_TYPES`.
|
||||||
|
|
||||||
### With the Yjs Server
|
### With the Yjs Server
|
||||||
|
|
||||||
@@ -443,7 +452,8 @@ Key variables:
|
|||||||
| `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver |
|
| `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver |
|
||||||
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
|
| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest |
|
||||||
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
|
| `TIKA_IMAGE` | Apache Tika image tag | apache/tika:slim |
|
||||||
| `IMAGOR_DOCKER_TAG` | Imagor image tag | 1.9.11 |
|
| `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor |
|
||||||
|
| `IMAGOR_DOCKER_TAG` | imagor Docker tag | 1.10.4 |
|
||||||
| `EXCLUDE_ADDITIONAL_SERVICES` | Services not to start, see imagor and idm sections | (no value) |
|
| `EXCLUDE_ADDITIONAL_SERVICES` | Services not to start, see imagor and idm sections | (no value) |
|
||||||
| `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 |
|
||||||
@@ -500,7 +510,7 @@ This repository uses a modular approach with multiple compose files:
|
|||||||
- `weboffice/` - Web office integrations (Collabora Online)
|
- `weboffice/` - Web office integrations (Collabora Online)
|
||||||
- `storage/` - Storage backend configurations (decomposeds3)
|
- `storage/` - Storage backend configurations (decomposeds3)
|
||||||
- `search/` - Search and content analysis services (Apache Tika)
|
- `search/` - Search and content analysis services (Apache Tika)
|
||||||
- `thumbnails/` - Thumbnail generator (imagor)
|
- `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
|
||||||
|
|||||||
@@ -27,13 +27,14 @@ app_registry:
|
|||||||
description: OpenDocument presentation document
|
description: OpenDocument presentation document
|
||||||
icon: ''
|
icon: ''
|
||||||
default_app: Collabora
|
default_app: Collabora
|
||||||
|
allow_creation: true
|
||||||
- mime_type: application/vnd.oasis.opendocument.graphics
|
- mime_type: application/vnd.oasis.opendocument.graphics
|
||||||
extension: odg
|
extension: odg
|
||||||
name: OpenGraphics
|
name: OpenGraphics
|
||||||
description: OpenDocument graphics document
|
description: OpenDocument graphics document
|
||||||
icon: ''
|
icon: ''
|
||||||
default_app: Collabora
|
default_app: Collabora
|
||||||
allow_creation: true
|
allow_creation: false
|
||||||
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||||
extension: docx
|
extension: docx
|
||||||
name: Microsoft Word
|
name: Microsoft Word
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ directives:
|
|||||||
- '''self'''
|
- '''self'''
|
||||||
media-src:
|
media-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
|
- 'blob:'
|
||||||
object-src:
|
object-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
- 'blob:'
|
- 'blob:'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
services:
|
services:
|
||||||
opencloud:
|
opencloud:
|
||||||
# renovate: depName=opencloudeu/opencloud-rolling
|
# renovate: depName=opencloudeu/opencloud-rolling
|
||||||
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.0.0}
|
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-9.1.0}
|
||||||
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
|
||||||
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
|
||||||
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
||||||
@@ -54,8 +54,18 @@ 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:
|
||||||
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/apps.yaml:/etc/opencloud/apps.yaml
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17.11-alpine
|
image: postgres:17.12-alpine
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
volumes:
|
volumes:
|
||||||
@@ -80,7 +80,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:26.8.0
|
image: quay.io/keycloak/keycloak:26.8.2
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
services:
|
|
||||||
collaboration:
|
|
||||||
environment:
|
|
||||||
# metrics
|
|
||||||
COLLABORATION_DEBUG_ADDR: 0.0.0.0:9304
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17.11-alpine
|
image: postgres:17.12-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.0
|
image: quay.io/keycloak/keycloak:26.8.2
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
command: [ "start", "--spi-connections-http-client-default-disable-trust-manager=${INSECURE:-false}", "--import-realm" ]
|
||||||
|
|||||||
@@ -1,45 +1,53 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
|
imagor:
|
||||||
|
# renovate: depName=shumc/imagor
|
||||||
|
image: ${IMAGOR_DOCKER_IMAGE:-shumc/imagor}:${IMAGOR_DOCKER_TAG:-1.10.4}
|
||||||
|
environment:
|
||||||
|
IMAGOR_UNSAFE: "true"
|
||||||
|
UPLOAD_LOADER_ENABLE: "true"
|
||||||
|
# quoted, an unquoted large number reaches imagor as 5e+07 which it cannot parse
|
||||||
|
UPLOAD_LOADER_MAX_ALLOWED_SIZE: "${IMAGOR_MAX_SOURCE_SIZE:-50000000}"
|
||||||
|
HTTP_LOADER_DISABLE: "true"
|
||||||
|
# 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}"
|
||||||
|
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:
|
opencloud:
|
||||||
environment:
|
environment:
|
||||||
# webdav posts the image to imagor instead of the built-in thumbnails service
|
|
||||||
WEBDAV_THUMBNAILS_GENERATOR_URL: http://imagor:8000
|
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: ${THUMBNAILS_ADDITIONAL_SOURCE_TYPES:-image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence}
|
||||||
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 above so both refuse the same files
|
||||||
# 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_SOURCE_SIZE:-50000000}"
|
||||||
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
|
# 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
|
# 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
|
# 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
|
OC_EXCLUDE_RUN_SERVICES: ${EXCLUDE_ADDITIONAL_SERVICES:-}${EXCLUDE_ADDITIONAL_SERVICES:+,}thumbnails
|
||||||
|
networks:
|
||||||
|
imagor-net:
|
||||||
depends_on:
|
depends_on:
|
||||||
imagor:
|
imagor:
|
||||||
condition: service_healthy
|
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:
|
networks:
|
||||||
opencloud-net:
|
imagor-net:
|
||||||
environment:
|
internal: true
|
||||||
# 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
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ services:
|
|||||||
opencloud:
|
opencloud:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_opencloud-net"
|
||||||
# define middleware here, to make sure its loaded with the first defined container (opencloud)
|
# define middleware here, to make sure its loaded with the first defined container (opencloud)
|
||||||
# if defined in the traefik container with a disabled dashboard it won't be loaded fast enough
|
# if defined in the traefik container with a disabled dashboard it won't be loaded fast enough
|
||||||
- "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000"
|
- "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000"
|
||||||
@@ -16,7 +17,7 @@ services:
|
|||||||
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
|
- "traefik.http.services.opencloud.loadbalancer.server.port=9200"
|
||||||
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
- "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v3.7.14
|
image: traefik:v3.7.19
|
||||||
# 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:
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ services:
|
|||||||
restart: "no"
|
restart: "no"
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
image: collabora/code:26.04.5.1.1
|
image: collabora/code:26.04.6.1.1
|
||||||
# release notes: https://www.collaboraonline.com/release-notes/
|
# release notes: https://www.collaboraonline.com/release-notes/
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ services:
|
|||||||
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
|
- ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml
|
||||||
yjs:
|
yjs:
|
||||||
# renovate: depName=opencloudeu/yjs
|
# renovate: depName=opencloudeu/yjs
|
||||||
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.0}
|
image: ${YJS_DOCKER_IMAGE:-opencloudeu/yjs}:${YJS_DOCKER_TAG:-1.1.1}
|
||||||
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
|
|||||||
Reference in New Issue
Block a user