Add environment variable for node moniker #11

Merged
nabarun merged 1 commits from deep-stack/fixturenet-laconicd-stack:ag-add-env-var into main 2024-08-09 11:06:31 +00:00
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: