Compare commits

..

12 Commits

Author SHA1 Message Date
a5c314f891 Merge pull request '10.6.1+26.5.4: fix backup/restore' (#24) from 10.6.1+26.5.4 into master
Reviewed-on: coop-cloud/keycloak#24
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
2026-02-28 18:56:36 +00:00
3e6ca4ddc0 Merge pull request 'upgrade to 10.6.0+26.5.4' (#23) from 10.6.0+26.5.4 into master
Reviewed-on: coop-cloud/keycloak#23
Reviewed-by: cyrnel <cyrnel@noreply.git.coopcloud.tech>
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
2026-02-28 18:56:14 +00:00
a69ad2f1d2 bump to 10.6.1+26.5.4 2026-02-26 22:12:39 +00:00
df8d472af4 fix backup/restore hooks: use volume path and correct hook ordering 2026-02-26 22:12:32 +00:00
a8e9862a0e chore: upgrade to 10.6.0+26.5.4 2026-02-26 18:54:39 +00:00
3wc
f26fcd4c95 chore: publish 10.5.1+26.4.5 release 2025-11-21 11:39:51 -05:00
a250244f23 chore: publish 10.5.0+26.4.0 release 2025-10-17 16:18:56 -04:00
c225bad91d Merge pull request 'chore: upgrade to v26.4.0' (#22) from 26-4-0 into master
Reviewed-on: coop-cloud/keycloak#22
2025-10-17 19:57:11 +00:00
868a907028 chore: upgrade to v26.4.0 2025-10-13 17:28:37 -04:00
8864d5f5e8 Merge pull request 'link directly to the integration section of other recipes' (#21) from update_readme into master
Reviewed-on: coop-cloud/keycloak#21
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Reviewed-by: 3wordchant <3wordchant@noreply.git.coopcloud.tech>
2025-09-16 18:55:46 +00:00
a79280b7d6 link directly to the integration section of other recipes 2025-09-16 06:12:45 -07:00
4866c6d38e chore: publish 10.4.1+26.3.2 release 2025-07-24 14:28:09 +02:00
4 changed files with 10 additions and 17 deletions

View File

@ -64,7 +64,7 @@ Make sure to delete the temp-admin user after you finish recovering.
- [Nextcloud][nextcloud]
- [Peertube][peertube]
[nextcloud]: https://git.coopcloud.tech/coop-cloud/nextcloud
[peertube]: https://git.coopcloud.tech/coop-cloud/peertube
[nextcloud]: https://git.coopcloud.tech/coop-cloud/nextcloud#how-do-i-integrate-with-keycloak-sso
[peertube]: https://git.coopcloud.tech/coop-cloud/peertube#plugins
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
[cc-traefik]: https://git.autonomic.zone/coop-cloud/traefik

View File

@ -1,6 +1,3 @@
---
version: "3.8"
services:
app:
volumes:

View File

@ -1,9 +1,6 @@
---
version: "3.8"
services:
app:
image: "keycloak/keycloak:26.3.1"
image: "keycloak/keycloak:26.5.4"
entrypoint: >
bash -c "KEYCLOAK_ADMIN_PASSWORD=\"$$(cat /run/secrets/admin_password)\" KC_DB_PASSWORD=\"$$(cat /run/secrets/db_password)\" /opt/keycloak/bin/kc.sh start"
networks:
@ -51,10 +48,10 @@ services:
- "caddy=${DOMAIN}"
- "caddy.reverse_proxy={{upstreams 8080}}"
- "caddy.tls.on_demand="
- "coop-cloud.${STACK_NAME}.version=10.4.0+26.3.1"
- "coop-cloud.${STACK_NAME}.version=10.6.1+26.5.4"
db:
image: "mariadb:11.8"
image: "mariadb:12.2"
environment:
- MYSQL_DATABASE=keycloak
- MYSQL_USER=keycloak
@ -70,12 +67,10 @@ services:
deploy:
labels:
backupbot.backup: "true"
backupbot.backup.path: "/tmp/dump.sql.gz"
backupbot.backup.post-hook: "rm -f /tmp/dump.sql.gz"
backupbot.backup.pre-hook: "sh -c 'mariadb-dump -u root -p\"$$(cat /run/secrets/db_root_password)\" keycloak | gzip > /tmp/dump.sql.gz'"
backupbot.restore.pre-hook: "sh -c 'cd /tmp && gzip -d dump.sql.gz'"
backupbot.restore: "true"
backupbot.restore.post-hook: "sh -c 'mariadb -u root -p\"$$(cat /run/secrets/db_root_password)\" keycloak < /tmp/dump.sql && rm -f /tmp/dump.sql'"
backupbot.backup.volumes.mariadb.path: "dump.sql.gz"
backupbot.backup.pre-hook: "sh -c 'mariadb-dump -u root -p\"$$(cat /run/secrets/db_root_password)\" keycloak | gzip > /var/lib/mysql/dump.sql.gz'"
backupbot.backup.post-hook: "rm -f /var/lib/mysql/dump.sql.gz"
backupbot.restore.post-hook: "sh -c 'gzip -d /var/lib/mysql/dump.sql.gz && mariadb -u root -p\"$$(cat /run/secrets/db_root_password)\" keycloak < /var/lib/mysql/dump.sql && rm -f /var/lib/mysql/dump.sql'"
networks:
internal:

1
release/10.5.0+26.4.0 Normal file
View File

@ -0,0 +1 @@
See here for possible breaking changes: https://www.keycloak.org/docs/latest/upgrading/#migrating-to-26-4-0