Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
tuimf committed Nov 16, 2022
1 parent 2252158 commit 747ce1f
Show file tree
Hide file tree
Showing 7 changed files with 329 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# exosama-basic-node
Basic exosama node setup

Requirements:

Docker 18.06.0+

Docker-compose v2.12.2

2 CPU cores

8 gb RAM

300 gb SSD/NVME
262 changes: 262 additions & 0 deletions docker-stack/chainspec/exosama.json

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions docker-stack/configs/exosama.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"Init": {
"ChainSpecPath": "chainspec/exosama.json",
"BaseDbPath": "db/exosama",
"LogFileName": "exosama.logs.txt",
"MemoryHint": 2048000000,
"WebSocketsEnabled": true,
"StoreReceipts" : true
},
"Network": {
"DiscoveryPort": 30303,
"P2PPort": 30303,
"ActivePeersMaxCount": 50,
},
"TxPool": {
"Size": 2048
},
"JsonRpc": {
"Enabled": true,
"Host": "0.0.0.0",
"EnabledModules": ["Eth", "Web3", "Net","Subscribe"],
"Port": 8545
},
"Db": {
"CacheIndexAndFilterBlocks": false
},
"Sync": {
"FastSync": false
},
"KeyStore": {
},
"Pruning": {
"Mode": "None"
},
"Merge": {
"Enabled": false
}
}
Empty file added docker-stack/db/.gitkeep
Empty file.
17 changes: 17 additions & 0 deletions docker-stack/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3.7'
services:
nethermind:
image: nethermind/nethermind:1.14.3
restart: on-failure
command:
--config exosama
volumes:
- ./chainspec:/nethermind/chainspec:ro
- ./configs:/nethermind/configs:ro
- ./db:/nethermind/db
- ./keystore:/nethermind/keystore
- ./logs:/nethermind/logs
ports:
- 30303:30303
- 30303:30303/udp
- 127.0.0.1:8545:8545
Empty file added docker-stack/keystore/.gitkeep
Empty file.
Empty file added docker-stack/logs/.gitkeep
Empty file.

0 comments on commit 747ce1f

Please sign in to comment.