Skip to content

Add Keycloak#656

Open
johnhamelink wants to merge 8 commits into
juspay:mainfrom
johnhamelink:feature/keycloak
Open

Add Keycloak#656
johnhamelink wants to merge 8 commits into
juspay:mainfrom
johnhamelink:feature/keycloak

Conversation

@johnhamelink
Copy link
Copy Markdown

@johnhamelink johnhamelink commented Mar 28, 2026

Implement Keycloak service based on the devenv implementation. Feedback very much appreciated - this is my first time contributing to services-flake!

TODOs:

  • Running Keycloak Service
  • Working Readiness Check
  • Passing test
  • Realm import
  • Realm export
  • Rigorous user testing
  • Fix all outstanding FIXMEs/TODOs in comments
image

Questions:

  1. The devenv implementation comes with a series of scripts: how should I implement them in services-flake?
  2. The devenv implementation also runs a script after termination of the service. I'm also unsure how to implement this?

@johnhamelink johnhamelink marked this pull request as ready for review May 13, 2026 15:36
@johnhamelink
Copy link
Copy Markdown
Author

I've been using this to work on a project for a while now and it seems to work well for me!

@shivaraj-bh
Copy link
Copy Markdown
Member

The devenv implementation comes with a series of scripts: how should I implement them in services-flake?

We don’t export scripts in services-flake. it’d be nice to add documentation for how users can define their own scripts by reading the values for the keycloak service’s options. Happy to help with this if it isn’t clear.

The devenv implementation also runs a script after termination of the service. I'm also unsure how to implement this?

process-compose supports depends_on for defining any process that should run conditional to the state of some other process. Example:

depends_on."${name}-init".condition = "process_completed_successfully";
. I haven’t checked what exactly the script in the devenv service does, i will do that once I sit to review the PR thoroughly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants