Prathamesh Musale
eaec693b48
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Reviewed-on: #4 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
services:
|
|
# Builds and serves the React testnet-onboarding-app
|
|
testnet-onboarding-app:
|
|
restart: unless-stopped
|
|
image: cerc/testnet-onboarding-app:local
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
WALLET_CONNECT_ID: ${WALLET_CONNECT_ID}
|
|
CERC_LACONICD_CHAIN_ID: ${CERC_LACONICD_CHAIN_ID:-laconic_9000-1}
|
|
CERC_REGISTRY_GQL_ENDPOINT: ${CERC_REGISTRY_GQL_ENDPOINT:-http://localhost:9473/api}
|
|
CERC_LACONICD_RPC_ENDPOINT: ${CERC_LACONICD_RPC_ENDPOINT:-http://localhost:26657}
|
|
CERC_LACONICD_DENOM: ${CERC_LACONICD_DENOM:-alnt}
|
|
CERC_FAUCET_ENDPOINT: ${CERC_FAUCET_ENDPOINT:-http://localhost:4000}
|
|
CERC_WALLET_META_URL: ${CERC_WALLET_META_URL:-http://localhost:3000}
|
|
CERC_SUMSUB_API_ENDPOINT: ${CERC_SUMSUB_API_ENDPOINT:-http://localhost:3001}
|
|
command: ["bash", "/scripts/onboarding-app-start.sh"]
|
|
volumes:
|
|
- ../config/app/onboarding-app-start.sh:/scripts/onboarding-app-start.sh
|
|
ports:
|
|
- "80"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "localhost", "80"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 10s
|