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:
- Add 644 permissions to certificates so the server is able to read certificates
- Pass cert.crt & cert.key files to the container
- Pass DOCREADER_CERT_FILE, DOCREADER_KEY_FILE environment variables
- 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
Comments
Please sign in to leave a comment.