Merge pull request #26 from matter-labs/ya-zkd-1817-upgrade-external-nodes-on-hetzner3

fix: Correct path and file names for consensus
This commit is contained in:
Yury Akudovich
2024-08-12 17:33:38 +02:00
committed by GitHub

View File

@ -101,7 +101,7 @@ services:
RUST_LOG: {{ rust_log }} RUST_LOG: {{ rust_log }}
{% if enable_consensus %} {% if enable_consensus %}
EN_CONSENSUS_CONFIG_PATH: /etc/consensus_config.yaml 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 %} {% endif %}
healthcheck: healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:{{ healthcheck_port }}/health" ] test: [ "CMD", "curl", "-f", "http://localhost:{{ healthcheck_port }}/health" ]
@ -112,7 +112,7 @@ services:
volumes: volumes:
- "{{ storage_directory }}/db:/db" - "{{ storage_directory }}/db:/db"
{% if enable_consensus %} {% if enable_consensus %}
- "consensus_config.yaml:/etc/consensus_config.yaml" - "{{ configuration_directory }}/consensus_config.yaml:/etc/consensus_config.yaml"
{% endif %} {% endif %}
env_file: env_file:
- "external_node.env" - "external_node.env"