mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 10:18:07 +02:00
flask-redis: dev envs support & misc improvements (#265)
(Most of this is almost identical to #263.) * Docker Desktop Development Environments config * Use cache volumes for pip * Downgrade from Python 3.11 _alpha_ -> Python 3.10 * Use port `8000` to avoid conflicts with Airplay on macOS for default Flask port `5000` * Use `SIGINT` to gracefully stop Flask * Formatting fixes in `compose.yaml` Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
ec552567c7
commit
b53e4542c9
5 changed files with 73 additions and 20 deletions
|
@ -11,4 +11,4 @@ def hello():
|
|||
return "This webpage has been viewed "+counter+" time(s)"
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", debug=True)
|
||||
app.run(host="0.0.0.0", port=8000, debug=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue