11 lines
208 B
Python
11 lines
208 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
|
|
worker_tmp_dir = "/app/tmp" |