mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
adding nginx-wsgi-flask docker-compose sample
Signed-off-by: grantbirki <grant.birkinbine@gmail.com> Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
This commit is contained in:
parent
017fd26b54
commit
55225b5e5c
11 changed files with 335 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