22 lines
610 B
YAML
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
|