From ea8b02b56ce5ad246ccbc31272e998d787c08b82 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 13 Dec 2023 11:05:17 +0100 Subject: [PATCH] Avoid restart of nodes and INX apps to catch errors --- .../templates/docker-compose-iota-core.yml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 index f8f85afaa..5605edec2 100644 --- a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 +++ b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 @@ -18,7 +18,7 @@ services: image: {{iota_core_docker_image_repo}}:{{iota_core_docker_image_tag}} container_name: iota-core stop_grace_period: 1m - restart: unless-stopped + restart: no ulimits: nofile: soft: 16384 @@ -64,7 +64,7 @@ services: container_name: inx-indexer image: iotaledger/inx-indexer:2.0-alpha stop_grace_period: 1m - restart: unless-stopped + restart: no depends_on: iota-core: condition: service_healthy @@ -83,7 +83,7 @@ services: container_name: inx-mqtt image: iotaledger/inx-mqtt:2.0-alpha stop_grace_period: 1m - restart: unless-stopped + restart: no depends_on: iota-core: condition: service_healthy @@ -136,7 +136,7 @@ services: container_name: inx-validator image: iotaledger/inx-validator:1.0-alpha stop_grace_period: 1m - restart: unless-stopped + restart: no depends_on: iota-core: condition: service_started