@ianhyzy I finally managed to run Keycloak on Cloudron after a few days of trying. Most of the code is from this repository. The author seemed to have used a heavily modified configuration file, tailored to fit their needs. Also they had a two-step build system, where they pushed a customized Keycloak image to the hub, then the actual Cloudron app made use of the previously pushed image. That didn't seem necessary.
So, I wrote a simple build script that would:
- spawn a fresh installation of Keycloak
- export the default master realm configuration
- adds LDAP and SMTP configuration for Cloudron to the exported file
The app I put together is based on cloudron/base:3.2
and makes use of the freshly exported and customized configuration file, which IMO is more compatible with Keycloak updates.
I'll publish the code on Github this weekend. I'm planning to use this instance to install Outline because it now supports a custom OIDC auth provider.
Cheers!