From f454a1d1ee638551bb614a783c21723e3ed7d8c6 Mon Sep 17 00:00:00 2001 From: "Guillaume \"B.B.\" Van Hemmen" Date: Sun, 13 Oct 2024 18:31:36 +0200 Subject: [PATCH] #0000 - Modify restart policy in docker-compose.yml Changed the restart policy condition from "on-failure" to "any" to ensure the container restarts on any circumstance. Removed the maximum attempts and window restrictions to allow continuous attempts without limitation. --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7ce41d5..0085366 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,10 +26,8 @@ services: deploy: replicas: 1 restart_policy: - condition: on-failure + condition: any delay: 5s - max_attempts: 3 - window: 120s resources: limits: memory: 3G