I have a rest api application and redis container in the same compose file. The rest api is a basic application which cache data in to redis cluster . When I got the cotainer up the rest api is not able to communicate to redis cluster. I always get the no reachable node cluster exception
below is the sample of my compose file.
can somebody help out why I am not able to connect/whats the issue between two containers and I used redis-cluster in my config of rest api application to connect to redis cluster. I pinged from shell of rest api container to redis_cluster and it works.