testnet-onboarding-app-stack/stack-orchestrator/compose/docker-compose-testnet-onboarding-app.yml
Prathamesh Musale 1e3e592b10 Add stacks for testnet-onboarding-app and testnet-onboarding-api (#1)
Part of  [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) and [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e)

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-26 06:31:40 +00:00

26 lines
1.0 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:-photon}
CERC_FAUCET_ENDPOINT: ${CERC_FAUCET_ENDPOINT:-http://localhost:4000}
CERC_WALLET_META_URL: ${CERC_WALLET_META_URL:-http://localhost:3000}
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