How to add new env variables?

if the feature is env variable dependant then check how we pass env vars on the backend rather than the frontend. The env vars in the backend are like:
mb-application-db-max-connection-pool-size which is Environment variables