Skip to the content

Reference

Self-hosted export

On the Organization plan, you can run Dorvyn's export service inside your own network, so documents saved as Word never leave it. Editing already happens entirely in the browser, so with self-hosted export no document content reaches Dorvyn at all.

How it works#

  • Dorvyn gives you the export service as a container image, and a license file for your organization, valid for the term of your agreement.
  • The container checks its license itself and needs no connection to Dorvyn. It never sends documents anywhere.
  • The editor still gets its licenses from Dorvyn (through your server, in strict mode). Only saving as .docx goes to your container.

1. Get the image and license#

Ask Dorvyn for self-hosted export when you set up your Organization agreement, or later from Billing → A payment problem? (it reaches the same team). You'll get:

  • access to the container image;
  • a license file, valid until a date in your agreement;
  • a renewal before it ends.

2. Run it#

Run the image on your container platform (Kubernetes, ECS, Docker) with the license in its environment:

VariableWhat it is
DORVYN_OFFLINE_LICENSEThe license file's contents

The exact image name, port and health check come with the image. On start, the container logs who it's licensed to and until when. It's stateless, so run as many copies as you need behind a load balancer, with HTTPS in front.

3. Point saving at it#

In strict mode, set its address on the server that runs @dorvyn/server:

Terminal
DORVYN_EXPORT_URL=https://export.internal.example.com

Your route then sends documents to your container instead of Dorvyn's. Your server must be able to reach it; your users' browsers don't need to.

4. Check it#

Save a document as Word from the editor. Your container's log shows the request, and no request goes to export.dorvyn.dev.

When the license ends#

Before the end date, Dorvyn sends you a renewed license. Replace the environment variable and restart the containers. If a license expires, the container refuses every save with "This export service isn't licensed for this organization, or its license has expired." Editing goes on: only saving as Word stops until the new license is in place.