From 22cc8abb78afbbfc9bc44c383bb99493966d29c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=89VEIL?= Date: Wed, 7 Jun 2017 14:07:20 +0200 Subject: [PATCH] fix web healthcheck `curl` is not installed in the base image, however `wget` and `grep` are. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e4043ac..c5059cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: service: base command: sh -c "cabot migrate && gunicorn cabot.wsgi:application -b 0.0.0.0:5000 --workers=5" healthcheck: - test: "curl http://localhost:5000/status" + test: wget -qO- -T10 http://localhost:5000/status | grep -qc 'Checks running' ports: - '127.0.0.1:5000:5000' depends_on: