Getting 500 error for storefront

HI,
I am new to shopware. I have installed a website working in shopware in my local using docker. I am getting 500 internal server error for shopfront while the admin is working properly. I have tried giving 660 permission for files in jwt folder. I have also tried adding domain(127.0.0.1) in sales channel.
when I run my docker the ip that is loaded is „127.0.0.1:8000“

  • I have saved my file in /var/www/html
  • Using Docker in windows Docker Desktop 4.1.1
  • Using the WSL 2 backend (Ubuntu-20.04)

Thanks in advance,
Reshma

I have fixed this issue . In .env file the mysql user was not correct because of which i got this 500 error .