Installation Docker
Last updated
Was this helpful?
Last updated
Was this helpful?
Make a new directory, change to it, and create a new empty file called docker-compose.yaml
Replace all the following missing values in the file with your configuration settings:
PROD_PORT (required): Port where app will listen inside of the docker image. Ex: 8030
PROD_BODY_LIMIT: Limit the incoming body payload. Ex: 20mb
PROD_API_VERSION: API Version (Should always be 1.0, due to legacy logic code)
PROD_MONGO_DB_URL (required): Mongo DB URL. Ex: mongodb://user:password@localhost:27010/biometrid
PROD_MONGO_DEBUG: Enable Mongo DB query logs. Ex: true ou false
SIGN_MICROSERVICE_PORT: Polygon port for signature micro service. Ex: 8090
PROXY_URL: URL for external micro service.
PROXY_PORT: Port for external micro service.
PROXY_USER: User for external micro service.
PROXY_PWD: Password for external micro service.
ports (required): Map the host machine port to the internal docker port. Ex: 8080:8030
Before executing the following command ensure you have a docker hub account with access to the polygoninnovation/biometrid Image.
This will automatically fetch its settings from the docker-compose.yaml file.
The service should now be available at: 0.0.0.0:8080
PROD_API_BASE_URL (required): API endpoint URL. Ex:
SIGN_MICROSERVICE_URL: Polygon URL for signature micro service: Ex: