From 9a5921d05a957625bdb9d68055a591302b256ad6 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Tue, 21 Dec 2021 01:32:20 +0000 Subject: [PATCH] make sure to only autoheal op web --- compose/docker-compose.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index e8e54a1..f349360 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -70,10 +70,12 @@ services: - db - cache - seeder + labels: + - autoheal=true healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/health_checks/default"] - interval: 10s - timeout: 3s + test: ["CMD", "curl", "-f", "http://localhost:8000/health_checks/default"] + interval: 1s + timeout: 1s retries: 3 start_period: 30s @@ -82,7 +84,7 @@ services: volumes: - "/var/run/docker.sock:/var/run/docker.sock" environment: - AUTOHEAL_CONTAINER_LABEL: all + AUTOHEAL_CONTAINER_LABEL: autoheal worker: <<: *app