From 357721bfdc632fe6200540c34713bc3680b15ad0 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 1/2] 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..7adc6bc3d 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 From 37f0eb66532238282da760354397512160f5e674 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 13 Dec 2023 12:34:29 +0100 Subject: [PATCH 2/2] Adapt faucet limits --- .../iota-core-node/templates/docker-compose-iota-core.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) 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 7adc6bc3d..4d2a6a68f 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 @@ -129,6 +129,9 @@ services: command: > --inx.address=iota-core:9029 --faucet.bindAddress=0.0.0.0:8091 + --faucet.manaAmount=100000000 + --faucet.baseTokenAmount=1000000000000 + --faucet.baseTokenAmountMaxTarget=100000000000000 {% endif %} {% if 'node-01' in inventory_hostname or 'node-02' in inventory_hostname or 'node-03' in inventory_hostname %}