Integrate dockerized Mongodb configuration

This commit is contained in:
2020-04-15 00:43:40 +02:00
parent ff3a1a3523
commit 8687408d9c
5 changed files with 110 additions and 1 deletions

View File

@ -9,6 +9,7 @@
"type": "python",
"request": "launch",
"module": "flask",
"preLaunchTask": "Launch MongoDB",
"env": {
"FLASK_APP": "app/main.py",
"FLASK_ENV": "development",
@ -19,7 +20,28 @@
"--no-debugger",
"--no-reload"
],
"jinja": true
"jinja": true,
"postDebugTask": "Stop MongoDB"
},
{
"name": "Python: Flask (open to world)",
"type": "python",
"request": "launch",
"module": "flask",
"preLaunchTask": "Launch MongoDB",
"env": {
"FLASK_APP": "app/main.py",
"FLASK_ENV": "development",
"FLASK_DEBUG": "0"
},
"args": [
"run",
"--no-debugger",
"--no-reload",
"--host=0.0.0.0"
],
"jinja": true,
"postDebugTask": "Stop MongoDB"
}
]
}