Use SIGINT to grecefully shutdown flask
This commit is contained in:
parent
1a0546f035
commit
30791342c8
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ services:
|
||||||
image: pinterest/snappass
|
image: pinterest/snappass
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
|
stop_signal: SIGINT
|
||||||
environment:
|
environment:
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- NO_SSL=True
|
- NO_SSL=True
|
||||||
|
|
Loading…
Reference in a new issue