Git Product home page Git Product logo

keycloak's Introduction

Deploy Keycloak.X to Heroku

This repository deploys the Keycloak.X Identity and Access Management Solution to Heroku. It is based of Keycloak's official docker image with some slight modifications to use the Heroku variable for PORT and DATABASE_URL properly, also enabling the edge proxy mode by default.

Keycloak.X uses Quarkus as the platform to build Keycloak. Compared to WildFly this gives faster startup-time and lower memory footprint which makes it possible for us to use a free dyno instance together with a hobby-dev Postgres database attached.

You only need to have a Heroku (free) account and everything will be sorted out with a click of a button via the web console :)

Deploy

Manual Deployment (Optional)

If you don't want to use the Deploy to Heroku button above for any reason, you need the Heroku CLI installed, so you can deploy this manually in a few steps after cloning this repository:

heroku apps:create --manifest
heroku addons:create heroku-postgresql:hobby-dev
heroku stack:set container
git push heroku main

Known Issues

  • In some cases, Heroku stops the service startup because it becomes unresponsive given the latency of the automatic database migration execution in the first initialization. If that happens, you can request for changing the boot timeout manually for you app.

References

keycloak's People

Contributors

uesleilima avatar gu4re avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.