From 9eb0a27af5dc9433c3abf6cadbd37d2a505a258b Mon Sep 17 00:00:00 2001 From: che0one <167894882+che0one@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:12:30 +0400 Subject: [PATCH] Update firefly.yaml Add healthcheck to Cron --- templates/compose/firefly.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/compose/firefly.yaml b/templates/compose/firefly.yaml index 1b1c6bf65..3312baf06 100644 --- a/templates/compose/firefly.yaml +++ b/templates/compose/firefly.yaml @@ -68,3 +68,9 @@ services: crond -f -L /dev/stdout environment: - STATIC_CRON_TOKEN=$SERVICE_BASE64_CRONTOKEN + healthcheck: + test: ["CMD-SHELL", "ls /entrypoint.sh || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s