From ff62e90bad62da11aad7f2ac754d2f24590455e2 Mon Sep 17 00:00:00 2001 From: Sven Jorns Date: Sun, 18 Jun 2023 01:02:40 +0300 Subject: [PATCH] restart_policy nit possible with docker-compose.yml in version 3.8 --- docker-compose.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2261aa9..d6990aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,12 @@ -version: '3.9' +version: '3.8' services: sws4zola: - restart_policy: - condition: on-failure - delay: 6s - max_attempts: 4 - window: 120s + restart: unless-stopped +# restart_policy: +# condition: on-failure +# delay: 6s +# max_attempts: 4 +# window: 120s build: context: . dockerfile: Dockerfile