From 9245dbb9af1c24b913f49581be0d9aa87a7b1467 Mon Sep 17 00:00:00 2001 From: Manuel Vergara Date: Thu, 22 May 2025 21:07:19 +0200 Subject: [PATCH] Add compose in clima_bot --- .../06_bots_telegram/04_clima_bot/docker-compose.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml diff --git a/catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml b/catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml new file mode 100644 index 0000000..289776a --- /dev/null +++ b/catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml @@ -0,0 +1,10 @@ +services: + clima-app: + build: . + container_name: clima-app + restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "pgrep -f bot.py || exit 1"] + interval: 10s + retries: 3 + start_period: 5s \ No newline at end of file