Merge branch 'telackey/pgmn' of github.com:cerc-io/stack-orchestrator into telackey/pgmn
This commit is contained in:
commit
ab30dbd47d
@ -26,4 +26,4 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5432"
|
- "5432"
|
||||||
volumes:
|
volumes:
|
||||||
mainnet_eth_ipld_eth_db:
|
mainnet_eth_ipld_eth_db:
|
||||||
|
@ -15,7 +15,7 @@ services:
|
|||||||
- "8081"
|
- "8081"
|
||||||
- "8082"
|
- "8082"
|
||||||
- "8090"
|
- "8090"
|
||||||
- "40000"
|
- "40001"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-v", "localhost", "8081"]
|
test: ["CMD", "nc", "-v", "localhost", "8081"]
|
||||||
interval: 20s
|
interval: 20s
|
||||||
|
@ -6,7 +6,7 @@ CERC_SCRIPT_DEBUG=false
|
|||||||
|
|
||||||
# Simple toggle to choose either a 'full' node or an 'archive' node
|
# Simple toggle to choose either a 'full' node or an 'archive' node
|
||||||
# (controls the values of --syncmode --gcmode --snapshot)
|
# (controls the values of --syncmode --gcmode --snapshot)
|
||||||
CERC_GETH_MODE_QUICK_SET=full
|
CERC_GETH_MODE_QUICK_SET=archive
|
||||||
|
|
||||||
# Path to plugeth plugins.
|
# Path to plugeth plugins.
|
||||||
CERC_PLUGINS_DIR="/usr/local/lib/plugeth"
|
CERC_PLUGINS_DIR="/usr/local/lib/plugeth"
|
||||||
|
@ -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 --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
|
## Start the stack
|
||||||
```
|
```
|
||||||
|
@ -27,6 +27,6 @@ def setup(ctx):
|
|||||||
def create(ctx, extra_args):
|
def create(ctx, extra_args):
|
||||||
# Generate the JWT secret and save to its config file
|
# Generate the JWT secret and save to its config file
|
||||||
secret = token_hex(32)
|
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:
|
with open(jwt_file_path, 'w+') as jwt_file:
|
||||||
jwt_file.write(secret)
|
jwt_file.write(secret)
|
||||||
|
Loading…
Reference in New Issue
Block a user