From 7e962e05f6dc891a03d255adb7305a7a3f4fe0ec Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 2 Oct 2023 08:48:25 +0200 Subject: [PATCH] Fixed docker stacks --- docker-compose.staging.yml | 6 +----- docker-compose.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index 1938b859..dd792736 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -6,6 +6,7 @@ volumes: services: kdb_bot_staging_1: image: sh-edraft.de/kdb-bot:1.1.9 + restart: on-failure depends_on: - kdb_db_staging_1 networks: @@ -29,11 +30,6 @@ services: reservations: cpus: "0.5" memory: 1024M - restart_policy: - condition: on-failure - delay: 3s - max_attempts: 3 - window: 60s kdb_web_staging_1: image: sh-edraft.de/kdb-web:1.1.9 diff --git a/docker-compose.yml b/docker-compose.yml index 4211da33..07b1d062 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,7 @@ volumes: services: kdb_bot_prod_1: image: sh-edraft.de/kdb-bot:1.1.9 + restart: on-failure depends_on: - kdb_db_prod_1 networks: @@ -28,11 +29,6 @@ services: reservations: cpus: "0.5" memory: 1024M - restart_policy: - condition: on-failure - delay: 3s - max_attempts: 3 - window: 60s kdb_web_prod_1: image: sh-edraft.de/kdb-web:1.1.9