Posts

How to install keycloak in Docker and configure keys

Image
 Hi, I have installed docker in my local machine. I have opened the cursor, and ran the below command in terminal docker run -p 8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:latest start-dev You can see, keycloak is installed and running in port 8080. We can able to access the keycloak from 8080 We can login with below default credentials username: admin password admin This is the default user, go to Users tab and create your own user with  realm access Click on Create realm to create new realm In the world of Keycloak and Identity Management, a Realm is basically a "Security Domain" or an "Isolated Space." Think of Keycloak as a large apartment building. Each Realm is a separate apartment. Even though they are in the same building (the same Keycloak installation), what happens inside Apartment A stays in Apartment A. To generate Client ID and Client Secret, click on create client Fill below details,...

How to install Redis in Windows using Docker

Image
 Hi friends, In this post, we will see how to install and use Redis in windows using docker desktop. Run the below 2 commands to install Redis.   docker pull redis          Usage:  to  pull the Redis image from Docker Hub   docker run -d --name redis-server -p 6379:6379 redis   Usage:  create container from the image   This will: -d : Run the container in detached mode. --name redis-server : Name your container. -p 6379:6379 : Map Redis port to your local machine. redis : Use the image you just pulled. Use the actions button to stop or start the application. Thanks, Hope it helps!.