From 678b86cd5c815fa74b789c16e64f4b6301466c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Alexander=20Str=C3=B8mseng?= Date: Mon, 18 Mar 2024 16:00:37 +0100 Subject: [PATCH] Update docker-compose.yml restart policy (#123) Changes the restart policy to restart automatically. --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ad8c8ef..ff32b38 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,12 @@ services: - "1337:1337" environment: - NODE_ENV=production + deploy: + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s frontend-app: build: