2024-07-26 06:31:40 +00:00
|
|
|
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}
|
2024-07-30 12:18:14 +00:00
|
|
|
CERC_LACONICD_DENOM: ${CERC_LACONICD_DENOM:-alnt}
|
2024-07-26 06:31:40 +00:00
|
|
|
CERC_FAUCET_ENDPOINT: ${CERC_FAUCET_ENDPOINT:-http://localhost:4000}
|
|
|
|
CERC_WALLET_META_URL: ${CERC_WALLET_META_URL:-http://localhost:3000}
|
2024-07-27 15:32:03 +00:00
|
|
|
CERC_SUMSUB_API_ENDPOINT: ${CERC_SUMSUB_API_ENDPOINT:-http://localhost:3001}
|
2024-07-26 06:31:40 +00:00
|
|
|
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
|