Bind to port 5000 with gunicorn. Less frequently used.
This commit is contained in:
parent
a8a646b1c7
commit
4d6d761915
2
Pipfile
2
Pipfile
@ -30,5 +30,5 @@ tox = "*"
|
||||
[scripts]
|
||||
devserver = "bash -c 'FLASK_APP=scripts/devserver.py flask run'"
|
||||
devshell = "bash -c 'FLASK_APP=scripts/devshell.py flask shell'"
|
||||
prodserver = "gunicorn --worker-class eventlet -w 1 wsgi:app"
|
||||
prodserver = "gunicorn --bind 127.0.0.1:5000 --worker-class eventlet -w 1 wsgi:app"
|
||||
prodshell = "bash -c 'FLASK_APP=wsgi.py flask shell'"
|
||||
|
@ -4,7 +4,7 @@ programs=xppl-rqlite,xppl-flask
|
||||
[program:xppl-flask]
|
||||
user = xppl
|
||||
directory = /var/xppl
|
||||
command = pipenv run gunicorn --worker-class eventlet -w 1 wsgi:app
|
||||
command = pipenv run gunicorn --bind 127.0.0.1:5000 --worker-class eventlet -w 1 wsgi:app
|
||||
priority = 999
|
||||
|
||||
[program:xppl-rqlite]
|
||||
|
Loading…
Reference in New Issue
Block a user