Skip to main content

Self Hosting

We support various deployment methods and are actively working on adding more. Please let us know if you have a specific deployment method in mind!

Manual Deployment

The following guide will walk you through setting up Documenso manually on your server or cloud infrastructure.

Docker

The following guide will walk you through setting up Documenso using Docker. You can choose between a Docker Compose production setup or a standalone container. We provide a Docker container for Documenso, published on both DockerHub and GitHub Container Registry. You can pull the Docker image from either of these registries and run it with your preferred container hosting provider. Please note that you must provide environment variables for connecting to the database, mail server, and other services.

Option 1: Production Docker Compose Setup

This setup includes a PostgreSQL database and the Documenso application. You will need to provide your own SMTP details using environment variables.

Option 2: Standalone Docker Container

If you prefer to host the Documenso application on a specific container provider, use the pre-built Docker image from DockerHub or GitHub’s Package Registry. You will need to provide your own database and SMTP host.

Advanced Configuration

The environment variables listed above are a subset of those available for configuring Documenso. The table below provides a complete list of environment variables and their descriptions.

Run as a Service

You can run the application using a systemd.service file. Here is a simple example of the service running on port 3500 (using 3000 by default):
We offer several alternative deployment methods for Documenso if you need more options.

Railway

Deploy on Railway

Render

Deploy to Render

Koyeb

Deploy to Koyeb