Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
This guide will detail possible methods for deploying on Azure, remember to keep in mind the minimum requirements when deploying WebViewer Server.
To build the WebViewer Server on a Linux VM, follow this guide on building docker compose images alongside our guide on building the WebViewer Server image.
version:"2.0"
or update docker-compose depending on the VM used.Due to how Azure WebApps are designed, their main drive has read/write speeds around 20 MB/s, this may cause a loss in performance in WebViewer Server. We recommend that the read/write available exceed 60 MB/s at least in any system you deploy in.
It is possible to deal with these issues by using a dedicated instance, but this can only be acquired by contacting Azure regarding your account.
This section specifies how to build a Web App server for containers on Azure. Azure Web Apps provide you a fully managed environment for hosting web servers. This will be the easiest way to get setup on Azure.
Web Apps for Containers
resource on Azure.OS
option to Linux
.Configure Container
.DockerHub
.Image and optional tag
type pdftron/webviewer-server:latest
. Click apply.1.5.1
can no longer be used on Web AppsWeb Sockets
to On
and the option Always On
to true
. While running, these options will be under Application settings
and General settings
respectively.If you wish to access the container it will be available under the URL field on the Overview page. You can access the demo application built in by using URL/demo?s
to access it. It will take a few minutes for the server to become available after the initial creation is complete.
You may also add a key to the container and control any other settings as listed in our Docker image guide. Go to Application Settings
and under the heading Application Settings
select Add new setting
. Set the name to your setting and the value to the desired value, like such (you do not need to set this property if you are demoing our software):
TRN_PDFNET_KEY demo:12345
It is also possible to build the WebViewer Server container yourself and host it on Azure to be used with Web Apps, to do so follow this guide.
Building on a Container Instance allows you more flexibility in usage but does not offer the fully integrated environment that a Web App server provides.
Create a resource
in the Azure portal and search for Container Instances
, once you've found it select it and create.Container image type
to Public
. In the Container image
field type pdftron/webviewer-server:latest
.OK
Configuration
page should now be shown.Port
to 8090
OS Type
to Linux
Environment Variable
to the variables you use under the environment
section of the docker-compose.yml
for example: "INCLUDE_DEMO":"true"
OK
twice more and the container should now be deploying.If you included the demo in this build, you should now be able to access the demo at container_instance_address:8090/demo?s
A private Azure image registry can also be used here.
The image registry is responsible for serving built container images on Azure. This can be done if you wish to host the Docker image directly within your network. This registry can be used when building Container Instances
or Web Apps for Containers
.
Microsoft also provides a more detailed guide on this process.
Create a resource
in the Azure portal and search for Container Registry
, once you've found it select it and create.Admin User
is enabled.Settings
> Access Keys
. You will need the username and password when pushing the image. Next go to Overview and find the Login Server
, you will also need this when pushing the image.docker login -u your_username -p your_password your_login_server
docker pull pdftron/webviewer-server:latest
docker tag pdftron/webviewer-server:latest your_login_server/image_name:latest
docker push your_login_server/image_name:latest
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales