In this example we have set up 1 Master node 2 slaves and 2 sentinel nodes
In the customer service we are using MYSQL as Database
-
Build customer service image
-
Update the image path in docker-compose.yaml
-
Copy all redis-sentinel folder and docker-compose.yaml file to any directory
-
We need to execute this SQL to create Table
-
docker-compose up -d to start the container