@CarbonNanotubes Check if the container is running by running docker ps and find the redis container. It should be running a long time :) Just in case there is a redis service on your pc, that makes it seem like its working locally.
I figured out the issue. Long story short I had an old copy of the project within my vscode workspace and I was editing the wrong .env file. I noticed this opened the right one and the host was not set correctly.
Imma just gonna go give myself a toilet swirly for being such an idiot, then I'll come back and delete that old code lol
@CarbonNanotubes hie , I am also having a similiar same issue. I am trying to run an app that i pulled from github. Building docker images is working perfectly , redis container, node container, database container are running perfectly but the php container is the one giving me problems. Once i run docker compose up -d , i get the following error