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