Config: PSR-11 Container and Dependency InjectionConfigure the webserverOn this pageConfigure the webserver You need to configure your webserver to pass the APP_ENV into the PHP code. Nginx fastcgi_param APP_ENV dev; Apache SetEnv APP_ENV dev Docker-Compose environment: APP_ENV: dev Docker CLI docker -e APP_ENV=dev image ... Open source ByJG