Using `symfony new` and Build Configs. Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # In all environments, the following files are loaded if they exist,
 | |
| # the latter taking precedence over the former:
 | |
| #
 | |
| #  * .env                contains default values for the environment variables needed by the app
 | |
| #  * .env.local          uncommitted file with local overrides
 | |
| #  * .env.$APP_ENV       committed environment-specific defaults
 | |
| #  * .env.$APP_ENV.local uncommitted environment-specific overrides
 | |
| #
 | |
| # Real environment variables win over .env files.
 | |
| #
 | |
| # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
 | |
| # https://symfony.com/doc/current/configuration/secrets.html
 | |
| #
 | |
| # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
 | |
| # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
 | |
| 
 | |
| ###> symfony/framework-bundle ###
 | |
| APP_ENV=dev
 | |
| APP_SECRET=
 | |
| ###< symfony/framework-bundle ###
 | |
| 
 | |
| ###> symfony/routing ###
 | |
| # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
 | |
| # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
 | |
| DEFAULT_URI=http://localhost
 | |
| ###< symfony/routing ###
 |