Overview

xlwings Lite is available as Docker image for self-hosting:

docker pull xlwings/xlwings-lite:1.0.0.0-17

It can be hosted on any service that runs Docker containers. As this is just a static file server, the container requires very little CPU and memory.

Note

While xlwings Lite is free via Excel’s add-in store, self-hosting requires a paid license, see Pricing.

Environment variables

The Docker image supports the following environment variables:

  • XLWINGS_LICENSE_KEY: your xlwings license key (required)

  • XLWINGS_HOSTNAME: e.g., xlwings-lite.mycompany.com (required)

  • PORT: sets the port on which the application runs, e.g., 8000 (optional, default 8000)

Python Dependencies

Direct installation of Python packages from PyPI is blocked. Instead, you can build your own Docker image that includes all the desired packages. For instructions, see https://github.com/xlwings/xlwings-lite-custom.

Hosting Solutions

Here are specific instructions for certain providers/hosting solutions: