Add environment variable for node moniker

This commit is contained in:
Adw8 2024-08-09 16:00:26 +05:30
parent b35a42f229
commit 43623118fe
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ services:
AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION} AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION}
AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD} AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD}
GENESIS_FILE: /var/tmp/genesis.json GENESIS_FILE: /var/tmp/genesis.json
MONIKER: ${MONIKER:-"localtestnet"}
volumes: volumes:
- laconicd-data:/root/.laconicd - laconicd-data:/root/.laconicd
- genesis-config:/var/tmp - genesis-config:/var/tmp

View File

@ -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 (set bond to authority within this) (in secs) (default: 2 * 24hrs)
AUTHORITY_GRACE_PERIOD=7200 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: * Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables: