Browse Source
1. Added binding address in config 2. Added missing dependency sqlalchemy 3. Added permanent redirect to index.htmldependabot/pip/gunicorn-22.0.0
4 changed files with 10 additions and 1 deletions
@ -1,2 +1,3 @@ |
|||
|
|||
DB_CONNECTION=postgresql://postgres@localhost/postgres |
|||
BIND_ADDRESS=127.0.0.1:8000 |
|||
|
@ -1,2 +1,3 @@ |
|||
falcon==1.4.1 |
|||
gunicorn==19.9.0 |
|||
sqlalchemy |
|||
|
@ -1,4 +1,5 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
[ -f ./config ] && . ./config && export DB_CONNECTION |
|||
gunicorn server:api |
|||
bindAddress=${BIND_ADDRESS:-'127.0.0.1:8000'} |
|||
gunicorn server:api -b $bindAddress "$@" |
|||
|
Loading…
Reference in new issue