keycloak-todomvc icon indicating copy to clipboard operation
keycloak-todomvc copied to clipboard

A demonstration of using Keycloak with a Todo application.

Todo MVC sample using Keycloak

It is a demonstration of using Keycloak inside a Todo application.

Prerequisites

  • Docker
  • Docker Compose
  • Make

Add devbox hostname into your /etc/hosts:

127.0.1.1 devbox

Build

Build Docker images:

$ make build

Deploy

Deploy the complete setup on a Docker host.

$ make deploy

The setup:

  • A Keycloak service. This container is auto configured by another container. The configuration creates a client and public key used by the API container.
  • An API service. This container uses the configuration generated by the Keycloak container.
  • An App service. This container uses the configuration generated by the Keycloak container.

UnDeploy

Undeploy the setup is as simple:

$ make undeploy