This small repo clonse the other repos of the project, builds the containers and deploys everything.
- You only need Docker for this!
bash script.sh
this keycloak imports a realm that has client secrets and users. ONLY FOR TESTING, DO NOT USE IN PRODUCTION;
/opt/keycloak/bin/kcadm.sh config credentials --user $KC_BOOTSTRAP_ADMIN_USERNAME --password $KC_BOOTSTRAP_ADMIN_PASSWORD --server http://localhost:8080/auth --realm master /opt/keycloak/bin/kcadm.sh set-password -r poc --username test --new-password test /opt/keycloak/bin/kcadm.sh create users -r poc -s username=test -s enabled=true
https://www.keycloak.org/server/importExport https://www.keycloak.org/server/all-config https://www.keycloak.org/server/reverseproxy https://github.com/little-pinecone/keycloak-in-docker/blob/master/keycloak/realms/realm-export.json
this creates a reverse proxy with Nginx for a unique entrypoint a keycloak with a realm, public and private clients, and two users common and super with differen roles for testing and deploys the front and back configuring it
would be cool docker/compose#11743