I\'m trying to access Redis server through the code and it\'s not connecting. But if i bash to the redis container i can access the redis-cli.
docker-compose.yml looks l
If using a static-ip for your network use below instead of localhost
$redis->connect('', 6379);