We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73ca45 commit 1f57abdCopy full SHA for 1f57abd
python-flask/app/gunicorn_config.py
@@ -1,7 +1,7 @@
1
import os
2
import multiprocessing
3
4
-bind = "0.0.0.0:" + os.environ["APP_PORT"]
+bind = "0.0.0.0:" + os.environ.get("APP_PORTS", "8080")
5
workers = (multiprocessing.cpu_count() * 2) + 1
6
accesslog = "-"
7
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
0 commit comments