From 5e9ff4d2bfaeffea122222f0d337cadb023c6aa0 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Mon, 23 Aug 2021 09:28:59 +1000 Subject: [PATCH] Add healthcheck back for ci containers --- docker/docker-compose.ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/docker-compose.ci.yml b/docker/docker-compose.ci.yml index 771b829..a8049ec 100644 --- a/docker/docker-compose.ci.yml +++ b/docker/docker-compose.ci.yml @@ -20,6 +20,10 @@ services: - 443 depends_on: - db + healthcheck: + test: ["CMD", "/bin/check-health"] + interval: 10s + timeout: 3s fullstack-sqlite: image: ${IMAGE}:ci-${BUILD_NUMBER} @@ -33,6 +37,10 @@ services: - 81 - 80 - 443 + healthcheck: + test: ["CMD", "/bin/check-health"] + interval: 10s + timeout: 3s db: image: jc21/mariadb-aria