Plugeth-based full mainnet stack. #592

Merged
telackey merged 15 commits from telackey/pgmn into main 2023-10-25 19:42:53 +00:00
5 changed files with 5 additions and 5 deletions
Showing only changes of commit ab30dbd47d - Show all commits

View File

@ -26,4 +26,4 @@ services:
ports:
- "5432"
volumes:
mainnet_eth_ipld_eth_db:
mainnet_eth_ipld_eth_db:

View File

@ -15,7 +15,7 @@ services:
- "8081"
- "8082"
- "8090"
- "40000"
- "40001"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8081"]
interval: 20s

View File

@ -6,7 +6,7 @@ CERC_SCRIPT_DEBUG=false
# Simple toggle to choose either a 'full' node or an 'archive' node
# (controls the values of --syncmode --gcmode --snapshot)
CERC_GETH_MODE_QUICK_SET=full
CERC_GETH_MODE_QUICK_SET=archive
# Path to plugeth plugins.
CERC_PLUGINS_DIR="/usr/local/lib/plugeth"

View File

@ -18,7 +18,7 @@ $ laconic-so --stack mainnet-eth-plugeth build-containers
```
$ laconic-so --stack mainnet-eth-plugeth deploy init --map-ports-to-host any-same --output mainnet-eth-plugeth-spec.yml
$ laconic-so deploy create --spec-file mainnet-eth-plugeth-spec.yml --deployment-dir mainnet-eth-plugeth-deployment
$ laconic-so --stack mainnet-eth-plugeth deploy create --spec-file mainnet-eth-plugeth-spec.yml --deployment-dir mainnet-eth-plugeth-deployment
```
## Start the stack
```

View File

@ -27,6 +27,6 @@ def setup(ctx):
def create(ctx, extra_args):
# Generate the JWT secret and save to its config file
secret = token_hex(32)
jwt_file_path = ctx.deployment_dir.joinpath("data", "mainnet_eth_config_data", "jwtsecret")
jwt_file_path = ctx.deployment_dir.joinpath("data", "mainnet_eth_plugeth_config_data", "jwtsecret")
with open(jwt_file_path, 'w+') as jwt_file:
jwt_file.write(secret)