Skip to content

Commit

Permalink
Nethermind set metrics host (#1761)
Browse files Browse the repository at this point in the history
* Nethermind set metrics host

* Aggressive prune on update to new version
  • Loading branch information
yorickdowne authored Feb 21, 2024
1 parent eec0996 commit 8fabb37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions nethermind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ services:
- "true"
- --Metrics.PushGatewayUrl
- ""
- --Metrics.ExposeHost
- 0.0.0.0
- --Metrics.ExposePort
- "6060"
- --Pruning.FullPruningCompletionBehavior
Expand Down

0 comments on commit 8fabb37

Please sign in to comment.