Payum / PayumServer

Payment processing microservice. Written in Symfony4
https://payum.forma-pro.com/
MIT License
114 stars 34 forks source link

Fatal error: Uncaught RuntimeException: APP_ENV environment variable is not defined. #62

Open sl45sms opened 6 years ago

sl45sms commented 6 years ago

On Latest Docker we get from Symfony:

Fatal error: Uncaught RuntimeException: APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file. in /payum/public/index.php:13 Stack trace: #0 {main} thrown in /payum/public/index.php on line 13

In Docker $_ENV var used to retrieve environment variables.

May it is related with this https://github.com/symfony/recipes/issues/331