Configuration Using Environment Variables

Some configuration file parameters can be changed without direct editing of the /core/app_config.json file. You can do it using the environment variables.

  • WA_ARCHITECTURE – redefines the architecture parameter

  • WA_API_URL – redefines the api_url parameter

Here's an example of using environment variables for the dockered Web SDK in the Lite mode:

docker run -d -p 80:80 \
-e WA_ARCHITECTURE=lite \
-e WA_API_URL='http://127.0.0.1:8000/v1/face/liveness/detect' \
ozforensics/oz-webliveness:{tag}

Last updated