Deploying Single PDF Render Services

The PDF Render service is provided as a single image that automatically configures itself to support generating PDF reports. By default the service will listen on port 5123. For other configuration options see PDF Render Server Configuration Options.

Docker images can be downloaded from Docker Hub. To download the latest version for using within Docker:

shell
$ docker pull humio/pdf-render-service:0.0.60--build-102--sha-c8eb95329236ba5fc65659b83af1d84b4703cb1e

To deploy the PDF Render service using docker use the following command:

shell
$ docker run \
   --net=bridge \
   --name=pdfrender \
   --ulimit="nofile=8192:8192"  \
   -p 5123:5123 \
   --env-file=.env humio/pdf-render-service

If password encryption for the generated PDF reports is required, then a writable temp directory (which can be mounted from the host) should be made available. Otherwise, the container does not need any hosted storage or other requirements. In the above command, the .env file contains the configuration information:

ini
PORT=5123
SERVICE_VERSION=1.0.0

You can monitor the service by checking the log output.