mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 15:28:06 +02:00
Add hot reload
Signed-off-by: Morten Punnerud Engelstad <morten@punnerud.net>
This commit is contained in:
parent
e6b1d2755f
commit
115e48cdc5
2 changed files with 4 additions and 1 deletions
|
@ -6,4 +6,4 @@ def hello():
|
|||
return "Hello World!"
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=8000)
|
||||
app.run(host='0.0.0.0', port=8000, debug=True)
|
||||
|
|
|
@ -8,3 +8,6 @@ services:
|
|||
stop_signal: SIGINT
|
||||
ports:
|
||||
- '8000:8000'
|
||||
#Shared volume to enable hot reload
|
||||
volumes:
|
||||
- ./app:/app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue