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.
Thanks is working fine now... Regards!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.