diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 index f80840246..02e092bca 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 @@ -105,6 +105,7 @@ job "{{ job.name }}" { GETH_KEYSTORE_DIR="/local/data-{{ env "NOMAD_ALLOC_INDEX" }}/keystore" GETH_KEYSTORE_FILENAME="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_filename }}{{ end }}" GETH_KEYSTORE_PASSWORD="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_password }}{{ end }}" + GETH_PORT = "{{ job.env['port'] }}" {% endraw %} {% elif job.env['type'] == 'member' %} GETH_SYNC_MODE="{{ job.env['sync_mode'] }}" @@ -159,9 +160,6 @@ job "{{ job.name }}" { config { command = "bash" args = ["-c", "local/run.sh"] - env { - GETH_PORT = "{{ job.env['port'] }}" - } } } }