testnet-onboarding-app-stack/stack-orchestrator/compose/docker-compose-testnet-onboarding-api.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

22 lines
610 B
YAML

services:
testnet-onboarding-api:
restart: unless-stopped
image: cerc/testnet-onboarding-api:local
environment:
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
SUMSUB_APP_TOKEN: ${SUMSUB_APP_TOKEN}
SUMSUB_SECRET_KEY: ${SUMSUB_SECRET_KEY}
KYC_LEVEL: ${KYC_LEVEL:-basic-kyc-level}
TTL_IN_SECS: ${TTL_IN_SECS:-600}
command: ["bash", "./run.sh"]
volumes:
- ../config/api/run.sh:/app/run.sh
ports:
- 3000
healthcheck:
test: ["CMD", "nc", "-vz", "127.0.0.1", "3000"]
interval: 10s
timeout: 5s
retries: 10
start_period: 5s