-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Script to run Nethermind dockerized and attach to it. | ||
# The jwtsecret is hardcoded, do not modify it. | ||
|
||
# Clean up existing container if it exists | ||
docker rm -f neth-vec-gen 2>/dev/null | ||
|
||
# Start the container in the background | ||
docker run --name neth-vec-gen --rm \ | ||
-v $PWD/networkdata:/networkdata \ | ||
-p 8545:8545 \ | ||
-p 8546:8546 \ | ||
nethermind/nethermind \ | ||
--config=none \ | ||
--Init.ChainSpecPath=/networkdata/chainspec.json \ | ||
--Init.DiscoveryEnabled=false \ | ||
--JsonRpc.Enabled=true \ | ||
--JsonRpc.Host=0.0.0.0 \ | ||
--JsonRpc.Port=8545 \ | ||
--JsonRpc.EngineHost=0.0.0.0 \ | ||
--JsonRpc.EnginePort=8546 \ | ||
--JsonRpc.JwtSecretFile=/networkdata/jwtsecret \ | ||
--TraceStore.Enabled=true | ||
# --Init.ExitOnBlockNumber=4 \ | ||
|