From 30791342c8517d09f64bd0c5f5a5d3b5203445c1 Mon Sep 17 00:00:00 2001 From: coyotwill Date: Wed, 24 May 2017 14:02:23 -0400 Subject: [PATCH] Use SIGINT to grecefully shutdown flask --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index b0d1a41..ffdd7f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: image: pinterest/snappass ports: - "5000:5000" + stop_signal: SIGINT environment: - REDIS_HOST=redis - NO_SSL=True