From 197f470226be95e97bc45e5984fd74b8d9e7d2c1 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 26 Jul 2022 18:59:03 +0200 Subject: [PATCH 1/2] feat(sokol): add configuration for sokol archive node --- .gitignore | 1 + docker-compose.poasokol-archive.yml | 32 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.poasokol-archive.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..adbb97d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ \ No newline at end of file diff --git a/docker-compose.poasokol-archive.yml b/docker-compose.poasokol-archive.yml new file mode 100644 index 0000000..30ee516 --- /dev/null +++ b/docker-compose.poasokol-archive.yml @@ -0,0 +1,32 @@ +version: '3.7' +services: + nethermind: + init: true + container_name: poa-sokol-archive + image: nethermind/nethermind:latest + environment: + NETHERMIND_CONFIG: sokol_archive + NETHERMIND_SYNCCONFIG_FASTSYNC: "false" + NETHERMIND_SYNCCONFIG_FASTBLOCKS: "false" + NETHERMIND_JSONRPCCONFIG_ENABLED: "true" + NETHERMIND_JSONRPCCONFIG_HOST: 0.0.0.0 + NETHERMIND_SYNCCONFIG_DOWNLOADBODIESINFASTSYNC: "true" + NETHERMIND_SYNCCONFIG_DOWNLOADRECEIPTSINFASTSYNC: "true" + NETHERMIND_PRUNINGCONFIG_MODE: "None" + NETHERMIND_NETWORKCONFIG_BOOTNODES: "enode://10eb38a1b0384d478c98b763b5d608b79bdb1e9777391cb7fcec2d1c68f80ce2c958589e958d1d9319fd8a7713c3480444cab109091ad5cae273798dd50f9728@104.248.49.16:30303,enode://f11a0f80939b49a28bf99581da9b351a592ec1504b9d32a7dfda79b36510a891e96631239c4166e5c73368c21e9bb3241e7fd6929b899772e5a8fe9a7b7c3af6@45.77.52.149:30303" + volumes: + - ./data/logs:/nethermind/logs + - ./data/keystore:/nethermind/keystore + - ./data/nethermind_db:/nethermind/nethermind_db + ports: + - "30303:30303" + - "30303:30303/udp" + - "30313:30313" + - "30313:30313/udp" + - "8545:8545" + restart: unless-stopped + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "10" From 39cfe6e87933d89a8f4e6872ddd52501224e1cd1 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 28 Jul 2022 08:57:28 +0200 Subject: [PATCH 2/2] docs(readme): add instruction for sokol archive --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c0a3050..8fe2222 100644 --- a/README.md +++ b/README.md @@ -147,3 +147,22 @@ docker-compose -f docker-compose.poasokol-rpc.yml up -d ``` + + +
+ POA Sokol Archive node + +## POA Sokol Archive node + +### Requirements +* CPU: 2 +* Memory: 8 +* Disk: 600G + +``` +git clone https://github.com/openpoa/node-setup.git + +docker-compose -f docker-compose.poasokol-archive up -d +``` + +
\ No newline at end of file