Skip to content
chrisala edited this page Mar 19, 2019 · 1 revision

Generating PDF files from HTML pages in MERIT uses the ALA pdf-service.
As the service uses wkhtml2pdf under the hood, it needs to be able to call back into MERIT to retrieve the HTML used to generate the PDF. To set this up:

  1. Run the pdf-service in a docker container using: docker run -p 8088:9090 --add-host=devt.ala.org.au: 6228535a684f
  2. Setup your MERIT to use pdfgen.baseURL=http://localhost:8088/
  3. Ensure the security.apikey.check.serviceUrl= property is set or add the IP of the pdf-service container to the API key IP whitelist.
Clone this wiki locally