Some test text!

Loading...
Guides

Adding a License to WebViewer Server

Adding a license when using Docker Compose

The PDFTron key you were provided is passed to WebViewer Server through environment variables in docker. In your docker-compose.yml file you can do this by placing the key in the TRN_PDFNET_KEY variable under environment:

pdfd-tomcat:
    image: "pdftron/webviewer-server:latest"
    environment:
      TRN_PDFNET_KEY: 'YOUR_LICENSE_KEY'

Adding a license when using Docker directly

When using Docker directly through other systems or command line you would declare TRN_PDFNET_KEY as an -e (environment) argument.

docker run -p 8090:8090 -e TRN_PDFNET_KEY="YOUR_LICENSE_KEY" pdftron/webviewer-server:latest

Adding a license when using the Windows installer

If you installed WebViewer Server through our Windows installer you can add the key by modifying wvs_config.json - you will find this under your base_install_directory/apache-tomcat/wvs_config.json

"TRN_PDFNET_KEY":"YOUR_LICENSE_KEY"

Get the answers you need: Support

Upcoming Webinar: Live tech update & run-through: Redaction | March 31st at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use