How to add environment variables for my particular site?

Is there any elegant way to add environment variables in a file like ‘.env’ to read in Frappe?

Hello, did you manage to solve this problem, I’d like to do the same, to make Environement variables for my ERPNext, so I can use it in server script, is it possible to make?