Local environment for working with keycloak.
This is not ready to production, it's just for development.
You can easily clone this project and start working with keycloak.
- Docker
- Docker Compose
- VSCode
- Clone this project
- Open the project in VSCode
- Install F5 Anything extension
(PressCtrl/Cmd + Shift + X
and search for@category:debuggers f5 Anything
) - Open "Run and Debug" panel (
Ctrl/Cmd + Shift + D
) - Select
Install: Create admin user
in the dropdown - Press the play button (or
F5
) to run the task
- Open "Run and Debug" panel
- Select
Start: Keycloak
in the dropdown - Press the play button (or
F5
)
Note: If you want to detach the terminal, press the trash icon, it will keep running.
Open your browser and go to:
- Open "Run and Debug" panel
- Select
Stop: Keycloak
in the dropdown
You can also run this command from your terminal:
bash devops/scripts/stop.sh
If you are currently running the project, stop it first.
- Open "Run and Debug" panel
- Select
Uninstall: Complete uninstall
in the dropdown - Press the play button (or
F5
) to run the task
First uninstall from the step above.
You can override default environment variables by creating a .env
file in the root of the project.
You can use the .env.example
file as a template.
We still do not have a custom way to import/export realms, but you can use the default way (in the UI of Keycloak Admin).