How to run the Regula Web API docker image with HTTPS?

    There 2 option to run Regula Web API docker image with HTTPS:

  • Option 1. Recommended. Nginx as a reverse-proxy

Run Nginx as a frontend container for HTTPS processing and proxy service requests to the backend docreader container. Here is the link

  • Option 2. Docreader via HTTPS

To run the docreader service via HTTPS:

  1. Add 644 permissions to certificates so the server is able to read certificates
  2. Pass cert.crt & cert.key files to the container
  3. Pass DOCREADER_CERT_FILE, DOCREADER_KEY_FILE environment variables
  4. Forward container port to 8443 host port 
chmod 644 ~/cert.crt ~/cert.key
docker run -it -p 8443:8080 -v ~/regula.license:/app/extBin/unix_x64/regula.license -v ~/cert.crt:/app/cert.crt -v ~/cert.key:/app/cert.key -e DOCREADER_CERT_FILE="/app/cert.crt" -e DOCREADER_KEY_FILE="/app/cert.key" regulaforensics/docreader

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more