File size: 373 Bytes
054900e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from admin.config import ADMIN_HOST, ADMIN_PORT, DEBUG
reload = DEBUG
# The address and port your Flask app will listen on
bind = f"{ADMIN_HOST}:{ADMIN_PORT}"
# Number of workers. Gunicorn recommends 2-4 workers per core
workers = 1
# The location of your Flask app
wsgi_app = "admin.app:app"
# Set logging - this example logs to a file
accesslog = "-"
errorlog = "-"
|