From 493e5ceffcfec1665e3a1a653e74b846aa886e3a Mon Sep 17 00:00:00 2001 From: Yury Akudovich Date: Mon, 12 Aug 2024 17:31:25 +0200 Subject: [PATCH] fix: Correct path and file names for consensus --- templates/docker-compose.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docker-compose.yaml.j2 b/templates/docker-compose.yaml.j2 index df240fa..904973c 100644 --- a/templates/docker-compose.yaml.j2 +++ b/templates/docker-compose.yaml.j2 @@ -101,7 +101,7 @@ services: RUST_LOG: {{ rust_log }} {% if enable_consensus %} EN_CONSENSUS_CONFIG_PATH: /etc/consensus_config.yaml - EN_CONSENSUS_SECRETS_PATH: /run/secrets/consensus_secrets.yaml + EN_CONSENSUS_SECRETS_PATH: /run/secrets/consensus_secrets {% endif %} healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:{{ healthcheck_port }}/health" ] @@ -112,7 +112,7 @@ services: volumes: - "{{ storage_directory }}/db:/db" {% if enable_consensus %} - - "consensus_config.yaml:/etc/consensus_config.yaml" + - "{{ configuration_directory }}/consensus_config.yaml:/etc/consensus_config.yaml" {% endif %} env_file: - "external_node.env"