Is there any way to start the build in server with environment variables like DATABASE_URL
from other environments like .env.test
instead of .env
?
I want to use diffrent databases for dev and test but the Symfony server allways starts using dev.
I already tried stuff like:
APP_ENV=test bin/console server:start
Im using symfony4