fixturenet-laconicd-stack/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml
Nabarun 81a3141db4 Fix default moniker config in laconicd stack (#12)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) and cerc-io/laconicd#51

Reviewed-on: #12
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-08-10 06:39:45 +00:00

37 lines
1.1 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}
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: