Commit Graph

47 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
renovate[bot]
0c4e9c631c chore(deps): update postgres docker tag to v17.12 (#427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-13 18:58:28 +01:00
renovate[bot]
b3ca76d674 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.2 (#416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 18:44:50 +01:00
renovate[bot]
d7f0118adb chore(deps): update quay.io/keycloak/keycloak docker tag to v26.8.1 (#402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-27 15:46:05 +01:00
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]
442017268a chore(deps): update quay.io/keycloak/keycloak docker tag to v26.7.3 (#374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-31 16:22:03 +02:00
renovate[bot]
f8b24d5200 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.7.2 2026-08-28 06:08:14 +00:00
renovate[bot]
e824bd17db chore(deps): update postgres docker tag to v17.11 2026-08-13 22:47:53 +00:00
renovate[bot]
1fbb2380cc chore(deps): update quay.io/keycloak/keycloak docker tag to v26.7.1 2026-08-05 17:43:39 +00:00
renovate[bot]
c096f66dfd chore(deps): update quay.io/keycloak/keycloak docker tag to v26.7.0 2026-07-09 09:53:11 +00:00
renovate[bot]
d952c2849b chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.4 2026-07-01 10:59:19 +00:00
Anja Barz
e92718ffa0 change the scopes for the clients 2026-06-22 10:09:32 +02:00
Anja Barz
8c43842e7b add the default ids and scopes for the clients 2026-06-19 12:54:39 +02:00
Connor
73b02b77d8 feat: make role assignment settings configurable
Allow PROXY_ROLE_ASSIGNMENT_DRIVER and GRAPH_ASSIGN_DEFAULT_USER_ROLE
   to be set via environment variables in .env file.

   - PROXY_ROLE_ASSIGNMENT_DRIVER defaults to oidc
   - GRAPH_ASSIGN_DEFAULT_USER_ROLE defaults to false

   When using PROXY_ROLE_ASSIGNMENT_DRIVER=default, set
   GRAPH_ASSIGN_DEFAULT_USER_ROLE=true to assign the 'user' role
   to new users.
2026-06-19 10:42:34 +02:00
renovate[bot]
8564cb046f chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.3 2026-06-04 18:03:12 +00:00
renovate[bot]
521e600b86 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.2 2026-05-19 13:35:28 +00:00
renovate[bot]
ddfef44b34 chore(deps): update postgres docker tag to v17.10 2026-05-18 12:37:13 +00:00
Michael Barz
270374d9e1 Merge pull request #270 from MannixTT/external-idp
External idp | new variables for various clients
2026-05-06 16:31:42 +02:00
Artur Neumann
12f855c9ce use TRAEFIK_PORT_HTTPS for keycloak config 2026-05-06 13:17:58 +05:45
MannixTT
5998ffbc96 Update external-idp.yml
Changes made based on the comments in the pull request following the reviews
2026-04-26 20:52:38 +02:00
renovate[bot]
892839eace chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.1 2026-04-16 10:53:05 +00:00
MannixTT
86f1d6fb7e Update external-idp.yml
adapt defaults - otherwise it will not behave as expected
2026-04-09 00:20:46 +02:00
MannixTT
68ddb4eb79 Update external-idp.yml
adapt docker compose for new variables regarding external idp
2026-04-08 23:46:15 +02:00
renovate[bot]
8ac4a770a6 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.6.0 2026-04-08 13:37:20 +00:00
renovate[bot]
376f06c4e3 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.5.7 2026-04-02 17:08:08 +00:00
renovate[bot]
279b2cde68 chore(deps): update quay.io/keycloak/keycloak docker tag to v26.5.6 2026-03-25 08:28:42 +00:00
renovate[bot]
958b21d80a chore(deps): update quay.io/keycloak/keycloak docker tag to v26.5.5 2026-03-05 18:32:46 +00:00
Michael Barz
1dbce867e1 fix: pin postgres version 2026-03-03 21:48:32 +01:00
Michael Barz
f480b7d6ed chore: update keycloak to 26.5.4 2026-03-02 11:34:25 +01:00
aleksa.radojicic
a79de3c5ee feat(keycloak): add support for KC_LOG_LEVEL env variable
KC_LOG_LEVEL is defined in the [official docs](https://www.keycloak.org/server/all-config?q=log-level).
2026-01-25 11:43:02 +01:00
mwllgr
bc338d7ff4 Make external IDP LDAP server start automatically 2025-10-25 22:14:08 +02:00
Thomas Schweiger
f253158ae7 fix: fix #104 - LDAP userPassword attribute can be read without auth 2025-10-18 11:21:54 +02:00
Thomas Schweiger
c55b36b559 enhane: do not expose ldap service 2025-10-07 11:08:35 +02:00
mwllgr
b88b80539b Change image for OpenLDAP in external-idp to bitnamilegacy 2025-10-04 16:23:37 +02:00
Michael 'Flimmy' Flemming
27aa8f40f1 quick fix for breaking changes in postgres 18 by pinning to 17 2025-09-26 17:51:38 +02:00
Viktor Scharf
487b73f0b3 set default admin password 2025-09-04 11:37:06 +02:00
Michael Barz
29b44b0c78 chore: update keycloak 2025-08-24 19:46:19 +02:00
Michael 'Flimmy' Flemming
95780abbb1 add ENV:LDAP_ADMIN_PASSWORD to keycloak container 2025-08-19 16:53:38 +02:00
Dominik Schmidt
0499302058 docs: explain how to bootstrap an admin user with authelia (currently) 2025-08-01 08:57:56 +02:00
Dominik Schmidt
bd8188c9df feat: add external-authelia idp config 2025-07-31 18:06:32 +02:00
Dominik Schmidt
3a39f8a26b fix: remove keycloak volumes from generic external idp configuration 2025-07-31 18:04:57 +02:00
Dominik Schmidt
66816a3189 feat: make ldap-server volumes configurable 2025-07-31 18:04:57 +02:00
Michael Barz
b63e6a8e32 fix: fix wrong group mapping in autoprovisioning setup 2025-06-29 23:24:57 +02:00
Michael Barz
0c9aa61813 fix: wording of the external idp 2025-06-23 17:42:53 +02:00
Michael Barz
c4ff1643c1 feat: add autoprovisioning mode 2025-06-03 19:20:30 +02:00
Michael Barz
a98b1a4ac9 style: review feedback 2025-05-30 17:33:01 +02:00
Michael Barz
4a8af1ca99 feat: add keycloak ldap shared directory 2025-05-30 16:31:39 +02:00