Use SIGINT to grecefully shutdown flask

This commit is contained in:
coyotwill 2017-05-24 14:02:23 -04:00
parent 1a0546f035
commit 30791342c8

View file

@ -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