From 1376e123eca16df44f564428a8eedaa4d353e9be Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 20 Feb 2024 11:15:48 +0000 Subject: [PATCH 1/2] Nethermind set metrics host --- nethermind.yml | 2 ++ 1 file changed, 2 insertions(+) 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 From fae6c054fec8dc10aa9eccb8efb87ee25c70c362 Mon Sep 17 00:00:00 2001 From: Yorick Date: Wed, 21 Feb 2024 16:49:07 +0000 Subject: [PATCH 2/2] Aggressive prune on update to new version --- ethd | 6 +++++- 1 file changed, 5 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