10 lines
		
	
	
		
			180 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			180 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os
 | |
| 
 | |
| # Set the environment to production
 | |
| os.environ['FLASK_ENV'] = 'production'
 | |
| 
 | |
| # Gunicorn config variables
 | |
| loglevel = "info"
 | |
| workers = 2
 | |
| bind = "0.0.0.0:5000"
 | |
| timeout = 120 |