From fb7f0740596a5324a6361f6ccba7b79d1c676acf Mon Sep 17 00:00:00 2001 From: nabarun Date: Fri, 9 Aug 2024 11:06:30 +0000 Subject: [PATCH] Add environment variable for node moniker (#11) Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Co-authored-by: Adw8 Reviewed-on: https://git.vdb.to/cerc-io/fixturenet-laconicd-stack/pulls/11 --- .../compose/docker-compose-fixturenet-laconicd.yml | 1 + stack-orchestrator/stacks/fixturenet-laconicd/README.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml index 2834ca8..9cdd247 100644 --- a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml +++ b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml @@ -13,6 +13,7 @@ services: AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION} AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD} GENESIS_FILE: /var/tmp/genesis.json + MONIKER: ${MONIKER:-"localtestnet"} volumes: - laconicd-data:/root/.laconicd - genesis-config:/var/tmp diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index e7007ed..713f3af 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -113,6 +113,9 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso # Authority grace period (set bond to authority within this) (in secs) (default: 2 * 24hrs) AUTHORITY_GRACE_PERIOD=7200 + + # Node moniker (default: "localtestnet") + MONIKER= ``` * Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables: