Skip to content

zeropsio/recipe-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zerops x Keycloak

Keycloak is an open-source identity and access management solution, which functions as a single sign-on mechanism for web applications and RESTful web services.
Zerops recipe for Keycloak includes a bootstrapped Keycloak app with PostgreSQL DB.

keycloak


Deploy on Zerops

You can either click the deploy button to deploy directly on Zerops, or manually copy the import yaml to the import dialog in the Zerops app.

Deploy on Zerops


Recipe features

  • Keycloak running on a Zerops Java service
  • Zerops PostgreSQL 17 service as database
  • Utilization of a Zerops built-in environment variables system

Production vs. development

Base of the recipe is ready for production, the difference comes down to:

  • Use a highly available version of the PostgreSQL database (change mode from NON_HA to HA in recipe YAML, db service section)

Changes made over the default installation

If you want to modify your existing Keycloak app to efficiently run on Zerops, these are the general steps we took:

  • Add zerops.yml to your repository. Our example includes installation of a specified version, admin bootstrap and health checks.
  • Set KC_HOSTNAME_STRICT to false, to enable zerops.app subdomain access. Should be skipped if the Keycloak is hosted on its own domain, set KC_HOSTNAME to the domain instead.

Additional info

Bootstrap admin login for this recipe is tempadmin with automatically generated password, which can be found under KC_BOOTSTRAP_ADMIN_PASSWORD name in the Zerops Environment variables section of app service.
Both KC_BOOTSTRAP_ADMIN_USERNAME and KC_BOOTSTRAP_ADMIN_PASSWORD envs may be removed in UI after a permanent admin account has been created.



Need help setting your project up? Join Zerops Discord community.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published