Hope you are well,
I have a project that I recently upgraded to laravel 8 from laravel 6.
it was dockerized both for dev and prod, after update unfortunately the app does not retrieve the env values that are passed by the docker-compose file and only works if I pass a .env file to the container.
this is while, inside the container I can still do:
php artisan tinker >> print_r(env("DB_HOST")) && print_r($_ENV)and see the env values even without passing the file itself
so the compose file passes the env values to the container but the laravel app does not pick them up
has anyone else faced this issue with laravel 8?
Thank you in advance,