Answer the question
In order to leave comments, you need to log in
How to set environment variables for 2 or more Symfony4 applications?
Please tell me how to set environment variables on VPS for multiple applications on SF4?
For example, there is a .env file on dev:
APP_ENV=dev
APP_SECRET=...
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
I'll put this in /etc/enviroment in the VPS. But if I have another site on symphony, then how to specify other APP_SECRET and DATABASE_URL for it?
Or have I misunderstood something?
Answer the question
In order to leave comments, you need to log in
/etc/environment in VPS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question