Browse Source
			
			
			Merge pull request #1736 from jjlin/rocket-env-docs
			
				Clarify Rocket env var defaults
			
			
				pull/1761/head
			
			
		 
		
			
				
					
						 Daniel García
					
					4 years ago
						Daniel García
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
5 additions and 
4 deletions
			 
			
		 
		
			
				- 
					
					
					 
					.env.template
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -258,10 +258,11 @@ | 
			
		
	
		
			
				
					|  |  |  | ## In any case, if a code has been used it can not be used again, also codes which predates it will be invalid. | 
			
		
	
		
			
				
					|  |  |  | # AUTHENTICATOR_DISABLE_TIME_DRIFT=false | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ## Rocket specific settings, check Rocket documentation to learn more | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_ENV=staging | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_ADDRESS=0.0.0.0 # Enable this to test mobile app | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_PORT=8000 | 
			
		
	
		
			
				
					|  |  |  | ## Rocket specific settings | 
			
		
	
		
			
				
					|  |  |  | ## See https://rocket.rs/v0.4/guide/configuration/ for more details. | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_ADDRESS=0.0.0.0 | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_PORT=80  # Defaults to 80 in the Docker images, or 8000 otherwise. | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_WORKERS=10 | 
			
		
	
		
			
				
					|  |  |  | # ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service. | 
			
		
	
	
		
			
				
					|  |  | 
 |