How to Install DocuSeal on Ubuntu Linux




This article provides a guide for installing and using DocuSeal, an open-source document-signing platform, as an alternative to commercial services like DocuSign and PandaDoc on Ubuntu Linux. DocuSeal offers user control over data, potential cost-effectiveness, and customization. Instructions are provided for Docker installation and setting up DocuSeal via docker-compose under a custom domain.

This article explains installing and using DocuSeal, a self-hosting document signing and an alternative to DocuSign and PandaDoc on Ubuntu Linux.

DocuSeal allows you to create, fill, and sign digital documents. It is an open-source alternative to other commercial document-signing platforms like DocuSign and PandaDoc.

If you want to host your document signing software on your server in your environment, then DocuSeal might be a good place to start.

Hosting your document-signing software comes with several advantages. Firstly, you have complete control over your data and don’t have to trust a third-party service provider with sensitive information. Additionally, you can customize the software to suit your specific needs and integrate it with other tools in your workflow.

Finally, hosting your software can be more cost-effective in the long run, especially if your document signing needs are high.


Before you begin, ensure you’re running a recent version of Ubuntu. Additionally, you should have:

  • Sudo privileges on your system
  • An Internet connection
  • A domain name pointed at your server’s public IP address (for HTTPS setup)

System Update

Start by updating your system’s package index and upgrading the installed packages to their latest versions:

sudo apt update && sudo apt upgrade -y

Uninstall Previous Docker Versions

DocuSeal runs in Docker, so we need to ensure a clean environment. Remove any older installations of Docker or conflicting packages:

sudo apt remove docker docker-engine containerd runc

Install Docker

Use the convenient script provided by Docker to install the latest Docker Engine:

sudo apt install curl
curl -fsSL -o
sudo sh

This script will install Docker along with its dependencies. Grant your user the privileges to run Docker commands without sudo for convenience:

sudo usermod -aG docker ${USER}
newgrp docker

Install Docker Compose

Although the Docker script may install docker-compose, it’s best to ensure you have the latest version:

sudo apt install docker-compose docker-compose-plugin

Set Up DocuSeal

Having Docker and Docker Compose installed, it’s time to configure DocuSeal using Docker Compose. Let’s download the docker-compose.yml file:

curl -LO

Configure DocuSeal

Modify the Docker Compose file to fit your domain. Use the nano editor or your preferred text editor:

nano docker-compose.yml

Locate the caddy service block and change the HOST variable to your domain name so that you can access DocuSeal over HTTPS:

    image: caddy:latest
    command: caddy reverse-proxy --from $HOST --to app:3000
      - "80:80"
      - "443:443"
      - "443:443/udp"
      - .:/data

Save and exit the editor.

Start DocuSeal

With the configuration ready, run Docker Compose to start DocuSeal:

docker-compose up -d

The -d flag will start your containers in the background.

Verify the Installation

Once the Docker Compose process is complete, open your web browser and navigate to to check if DocuSeal is running.

DocuSeal web portal

Set up your account and log in. Then, start signing documents.


You’ve now successfully set up DocuSeal on your Ubuntu server. If you encounter any issues or want to personalize it further, consult the official DocuSeal documentation.

Feel free to add your experiences, questions, or suggestions in the comments below. Your feedback helps to improve the guide for everyone.

Like this:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.