[Answered ]-If .env file is not included in git then how the prod deployment works in ec2 , how the prod code gets access to variables?

1👍

great question.
in our company, we add another file .env.template will contain placeholders and also it will be very similar to the .env file so anyone who wants to deploy or set up his own .env could what keys he wants.

Leave a comment