Demo app used to demonstrate Doc Scan sandbox testing
Configure using the following environment variables:
YOTI_CLIENT_SDK_ID
your sandbox client SDK IDYOTI_KEY_FILE_PATH
path to pem file within containerYOTI_DOC_SCAN_API_URL
to point to the sandbox environmentYOTI_APP_BASE_URL
the app base URL - defaults to https://localhost:3000
To build:
docker build . -t yoti-doc-scan-test-app
To run:
docker run -e YOTI_CLIENT_SDK_ID=YOUR_CLIENT_SDK_ID -e YOTI_KEY_FILE_PATH=/path/in/container/to/privateKey.pem -e YOTI_DOC_SCAN_API_URL=https://api.yoti.com/sandbox/idverify/v1 -p 3000:3000 yoti-doc-scan-test-app
version: '3'
services:
app:
build: https://github.com/getyoti/doc-scan-sandbox-test-app.git
environment:
- YOTI_KEY_FILE_PATH=/usr/src/keys/privateKey.pem
- YOTI_CLIENT_SDK_ID=YOUR_CLIENT_SDK_ID
- YOTI_DOC_SCAN_API_URL=https://api.yoti.com/sandbox/idverify/v1
volumes:
- /path/to/privateKey.pem:/usr/src/keys/privateKey.pem
ports:
- "3000:3000"