Prathamesh Musale
79d128d667
Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8) Reviewed-on: #17 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
services:
|
|
laconicd:
|
|
restart: unless-stopped
|
|
image: cerc/laconicd:local
|
|
command: ["bash", "/scripts/init.sh"]
|
|
environment:
|
|
TEST_AUCTION_ENABLED: ${TEST_AUCTION_ENABLED:-false}
|
|
TEST_REGISTRY_EXPIRY: ${TEST_REGISTRY_EXPIRY:-false}
|
|
ONBOARDING_ENABLED: ${ONBOARDING_ENABLED:-false}
|
|
STAKING_AMOUNT: ${STAKING_AMOUNT:-1000000000000000}
|
|
AUTHORITY_AUCTION_ENABLED: ${AUTHORITY_AUCTION_ENABLED}
|
|
AUTHORITY_AUCTION_COMMITS_DURATION: ${AUTHORITY_AUCTION_COMMITS_DURATION}
|
|
AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION}
|
|
AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD}
|
|
GENESIS_FILE: /var/tmp/genesis.json
|
|
MONIKER: ${MONIKER:-localtestnet}
|
|
CHAINID: ${CHAINID:-laconic_9000-1}
|
|
MIN_GAS_PRICE: ${MIN_GAS_PRICE:-0.001}
|
|
volumes:
|
|
- laconicd-data:/root/.laconicd
|
|
- genesis-config:/var/tmp
|
|
ports:
|
|
- "6060"
|
|
- "26657"
|
|
- "26656"
|
|
- "9473"
|
|
- "9090"
|
|
- "1317"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "127.0.0.1", "26657"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
laconicd-data:
|
|
genesis-config:
|