Commit Graph

39 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
9456bdbdd7 run the thumbnails service in its own container (#435)
* run the thumbnails service in its own container

Since 9.0.0 the thumbnails service is a stateless resizer: webdav posts
the source image to WEBDAV_THUMBNAILS_GENERATOR_URL and keeps the
cache. We now start it as `opencloud thumbnails server` in a dedicated
container from the same image and exclude it from the main container.

Decoding untrusted images is a classic attack surface. The new
container has no access to the config, the secrets or the data, runs
read-only without capabilities and is only reachable on the internal
thumbnails-net. The service has no authentication, so it must not be
exposed. It costs about 50MB of RAM for the extra process.

The exclude list becomes static, so the idm files simply add
thumbnails to it. This avoids the order dependent
EXCLUDE_ADDITIONAL_SERVICES workaround of
https://github.com/opencloud-eu/opencloud-compose/pull/422, the imagor
module only has to point the generator URL at imagor.

The container registers with an in memory registry, there is no nats
to talk to and webdav uses the URL anyway.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* let imagor replace the thumbnails container

thumbnails/imagor.yml now scales the built-in thumbnails container to
0 instead of leaving it idle next to imagor. opencloud only waits for
imagor, the depends_on of the base file is replaced with !override,
which needs docker compose 2.24.4 or newer.

Scaling to 0 instead of a profile also stops a running thumbnails
container when imagor is added to an existing deployment. Removing
imagor.yml again brings it back, --remove-orphans cleans up imagor.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-25 14:49:44 +01:00
Dominik Schmidt
33c9525adf docs: describe image variables consistently
Concrete default versions go stale with the first renovate bump, the
imagor one already was. Use the same sentence for every pinned image
and list all image variables uncommented and empty in .env.example.
2026-11-25 10:32:11 +01:00
Dominik Schmidt
3cc4a6b2a6 chore: pin tika, clamav, radicale, phpldapadmin and euro-office images
These five images defaulted to "latest". A host that never pulls stays
on whatever "latest" was at first start, a fresh install gets an
untested version, and one repository state does not describe one set
of images.

Pin each to the version "latest" points to today. Euro Office publishes
no version tags, so it is pinned by digest. The tag variables can still
be set to "latest".
2026-11-25 10:32:11 +01:00
Dominik Schmidt
7e27fdae86 feat!: split TIKA_IMAGE into image, tag and variant variables
Tika was the only image that took name and tag in one variable. Use
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG like the other images, so the
tag can be pinned and bumped the same way.

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

BREAKING CHANGE: TIKA_IMAGE is no longer read, compose aborts with a
message while it is still set. Replace
TIKA_IMAGE=apache/tika:latest-full with TIKA_DOCKER_VARIANT=full, or set
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG for any other image.
2026-11-25 10:32:11 +01:00
Dominik Schmidt
c5c3fbdb89 feat: add an imagor module for heic, heif and avif previews (#407)
imagor runs on an internal network, the webdav service points at it as the
preview generator, and the three formats plus their sequence types are
announced, so previews show up in the file list and the preview app. The
OpenCloud image ships no libheif on purpose, so its own generator refuses
them. Documented in README and .env.example, image tag pinned and tracked by
renovate. Needs OpenCloud 9.0.0 or newer.
2026-10-27 15:44:22 +01:00
Jannik Stehle
fcfc216f16 feat: add yjs collaboration service (#380) 2026-09-15 15:29:49 +02:00
Lorenz Bausch
16bd598d4d Rename euroffice to euro-office 2026-06-27 22:20:15 +02:00
Ralf Haferkamp
76e41a4848 fix: README contains wrong variable name
It's TRAEFIK_ACME_MAIL not TRAEFIK_LETSENCRYPT_EMAIL

Closes: #263
2026-06-25 12:08:17 +02:00
Michael Barz
5268ad506b feat: move collaboration into the opencloud process 2026-06-19 20:26:16 +02:00
Michael Barz
75941df428 docs: add euro office 2026-06-17 17:42:59 +02:00
Viktor Scharf
8ce6895188 update certs.yml example 2026-01-13 12:07:40 +01:00
Anja Barz
6b3a1e36e1 Update README.md with latest and not small 2025-11-18 10:42:53 +01:00
Michael Barz
c392985614 Merge pull request #149 from opencloud-eu/fix-tika-image
fix: use apache/tika:slim by default
2025-11-17 09:54:50 +01:00
Michael Barz
fddd76a560 Merge pull request #133 from dkarv/antivirus
Add ClamAV
2025-11-10 14:09:23 +01:00
Michael Barz
73fdc8a96a fix: use apache/tika:slim by default 2025-11-10 13:58:55 +01:00
Michael Barz
522ced8c96 Merge pull request #99 from opencloud-eu/move_production_to_docs
Move production deployment infos to docs
2025-11-06 12:12:35 +01:00
dkarv
f5df55fedc add compose file and documentation how to use it 2025-10-30 22:46:25 +01:00
bilogic
53ec7140da document the mandatory OC_DOMAIN 2025-10-30 16:16:03 +08:00
Michael 'Flimmy' Flemming
f3c5f8f591 add link to docs for production deployment 2025-09-26 15:09:52 +02:00
Michael 'Flimmy' Flemming
fc560119f4 remove production deployment section 2025-09-26 15:09:12 +02:00
Michael Barz
c8557c3455 style: clarify DNS setup 2025-09-11 21:27:54 +02:00
Viktor Scharf
1c1ccef59c change sequence of steps in readmi 2025-09-04 12:38:17 +02:00
Viktor Scharf
487b73f0b3 set default admin password 2025-09-04 11:37:06 +02:00
Michael Barz
94c3703aca change: increase importance of setting a custom admin password 2025-07-04 11:40:55 +02:00
Michael Barz
ef9516626e feat: make it possible to add local certificates 2025-07-01 14:12:38 +02:00
chillymattster
82f1377a9c doc: add radicale in readme 2025-06-29 14:54:51 +02:00
Nico Kaiser
a872a89cc7 feat: add radicale 2025-06-27 10:27:15 +02:00
Anja Barz
557b1c33ea Update README.md
adjust the instructions about the quick start guide and admin password
2025-06-26 11:59:58 +02:00
chillymattster
cf990a8a91 Adopt hint for docker compose v2 according to review. 2025-06-25 21:16:25 +02:00
chillymattster
b0a7fa3851 Add hint in readme to not use docker compose v1 2025-06-25 13:37:08 +02:00
Michael Barz
278b58e683 feat: do not use default admin pw 2025-06-23 08:44:03 +02:00
Michael Barz
867271dfcf feat: add monitoring config 2025-06-03 14:07:19 +02:00
Michael Barz
7cf21ce099 feat: add full text search 2025-05-30 21:55:40 +02:00
Michael Barz
ae08f68075 style: restructure files 2025-05-30 21:18:13 +02:00
Michael Barz
a98b1a4ac9 style: review feedback 2025-05-30 17:33:01 +02:00
Michael Barz
2849325acf docs: add new features to readme 2025-05-30 16:31:40 +02:00
Kevin Azemi
0c21320ac9 Added NPM fix for 403 desktop auth 2025-05-23 14:25:12 +02:00
Michael Barz
3e138297bd feat: initial basic feature 2025-05-19 22:19:58 +02:00
michaelstingl
14f8cee581 Add README.md with documentation 2025-05-19 14:27:05 +02:00