This is a starter for a Keycloak server. It uses docker compose with a custom docker file to run the server inside a container. It assumes there is a Postgres server running outside of the container.
To get an instance of Postgres running quickly and easily, use postgres_docker
This uses a quay.io/keycloak/keycloak image.
See https://www.keycloak.org/server/containers
Any environment variables can be set by creating a .env
file and adding them there. ie:
KC_DB_PASSWORD=some_password
KC_DB_USERNAME=some_username
A startup realm called "NextAuth POC" is included in the expert_data folder.
The "NextAuth POC" realm has no user that can authenticate. Create a new user in that realm to authenticate.
The default admin user is:
- username: SuperAdmin
- password: 2GettaGoodPass!!