mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
init nginx-wsgi-flask
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com> Signed-off-by: grantbirki <grant.birkinbine@gmail.com>
This commit is contained in:
parent
a92c067f75
commit
d294c393a5
10 changed files with 312 additions and 0 deletions
5
nginx-wsgi-flask/flask/wsgi.py
Normal file
5
nginx-wsgi-flask/flask/wsgi.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from app import app
|
||||
import os
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host='0.0.0.0', port=os.environ.get("FLASK_SERVER_PORT"), debug=True)
|
Loading…
Add table
Add a link
Reference in a new issue