From 8fabb37cb6f8ede6092ef82b755d9a14288b600f Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:51:48 -0500 Subject: [PATCH] Nethermind set metrics host (#1761) * Nethermind set metrics host * Aggressive prune on update to new version --- ethd | 6 +++++- nethermind.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ethd b/ethd index 42c5f1cb..9935e2eb 100755 --- a/ethd +++ b/ethd @@ -1141,7 +1141,11 @@ nag_os_version() { pull_and_build() { - dodocker system prune --force + if [[ "${__source_ver}" -lt "9" ]]; then # Aggressive prune to work around Docker grabbing old clients + dodocker system prune --force -a + else + dodocker system prune --force + fi docompose --profile tools pull source_build docompose --profile tools build --pull diff --git a/nethermind.yml b/nethermind.yml index 2b375ffd..37cb3fb5 100644 --- a/nethermind.yml +++ b/nethermind.yml @@ -76,6 +76,8 @@ services: - "true" - --Metrics.PushGatewayUrl - "" + - --Metrics.ExposeHost + - 0.0.0.0 - --Metrics.ExposePort - "6060" - --Pruning.FullPruningCompletionBehavior