Update script to setup account and create gentx

This commit is contained in:
Shreerang Kale
2025-05-13 12:57:42 +05:30
parent 0c25f9daff
commit ad22b6350b
2 changed files with 37 additions and 48 deletions
@@ -2,23 +2,16 @@ services:
laconicd:
restart: unless-stopped
image: cerc/laconicd:local
command: ["bash", "-c", "/opt/run-laconicd.sh"]
command: ["bash", "-c", "/opt/create-gentx.sh"]
environment:
CERC_MONIKER: ${CERC_MONIKER:-TestnetNode}
CERC_CHAIN_ID: ${CERC_CHAIN_ID:-laconic_9000-1}
CERC_PEERS: ${CERC_PEERS}
MIN_GAS_PRICE: ${MIN_GAS_PRICE:-0.001}
CERC_LOGLEVEL: ${CERC_LOGLEVEL:-info}
DENOM: ${DENOM}
KEY_NAME: ${KEY_NAME:-mykey}
PVT_KEY: ${PVT_KEY}
volumes:
- laconicd-data:/root/.laconicd
- ../config/laconicd/run-laconicd.sh:/opt/run-laconicd.sh
ports:
- "6060"
- "26657"
- "26656"
- "9473"
- "9090"
- "1317"
- ../config/laconicd/create-gentx.sh:/opt/create-gentx.sh
healthcheck:
test: ["CMD", "nc", "-vz", "127.0.0.1", "26657"]
interval: 30s