DEV Community

Discussion on: How to run Laravel using Docker

Collapse
 
kyleparisi profile image
Kyle Parisi

Your .env file is wrong. it's trying to connect to 127.0.0.1 in the container which it shouldn't be. If you are using the compose file the details are in the env file above.

Collapse
 
mradom profile image
Omar Mrad

Thanks is working fine now... Regards!