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
just remove the redis port and change the redis hostname to redis in your Laravel project .env file.
redis
REDIS_HOST=redis #REDIS_PORT=6379