DocuSeal 3.4: Self-Host Your Own Open-Source DocuSign Alternative with Docker Compose

DocuSeal is an AGPL-3.0 platform for building fillable PDF forms and collecting e-signatures on your own server. Here is what v3.4.1 can do, what stays behind the Pro paywall, and how to run it with Docker Compose and PostgreSQL.

Share
DocuSeal form builder showing a Design Services Agreement with signature, date and name fields placed on the page, a field palette on the right and a phone mockup of the mobile signing view
The DocuSeal form builder with the mobile signing view (image from the project README). Source: docusealco/docuseal on GitHub (AGPL-3.0)

Sooner or later every homelab owner, freelancer or small association runs into the same annoying task: someone needs to sign a PDF. The usual dance is print, sign, scan, email, or uploading the contract to a SaaS e-signature service and hoping their free tier still covers this month. If you already self-host your PDF tools and your document archive, the signing step is the obvious missing piece.

DocuSeal fills exactly that gap. It is one of the most popular projects under the GitHub self-hosted topic right now with around 19,200 stars, and it ships at a fast pace: v3.4.0 landed on 23 November 2026 with bug fixes and security hardening, followed by v3.4.1 on 30 November 2026, which adds full-text search inside documents with Ctrl+F. Time for a closer look.

What is DocuSeal?

DocuSeal is a web application for turning PDFs into fillable forms and sending them out to be filled in and signed online. You upload a document, drag signature, date, text or checkbox fields onto the pages, assign them to one or more signers, and send a link. Signers do not need an account; they open the link on a phone or desktop, fill in their fields and sign. When everyone is done, DocuSeal produces the finished PDF with an embedded digital signature and an audit trail.

The basics, checked against the repository today:

  • License: AGPL-3.0 with an additional Section 7(b) term: forks must keep the original DocuSeal attribution in interactive user interfaces.
  • Stack: Ruby on Rails with a JavaScript front end; the Docker image bundles Redis, PDFium and an ONNX model for field detection.
  • Docker image: docuseal/docuseal on Docker Hub, multi-arch for amd64 and arm64, web UI on port 3000.
  • Database: SQLite by default, or PostgreSQL / MySQL via DATABASE_URL.
  • Current version: 3.4.1 (30 November 2026).
DocuSeal Document Templates page with Upload and Create buttons and a drag-and-drop area labelled Upload a New Document
The start page: upload a PDF or create a template from scratch. Source: official DocuSeal demo (AGPL-3.0 project, screenshot by uptime.bet)

Key features

According to the README and the code in the repo, the free, self-hosted edition includes:

  • WYSIWYG form builder for PDFs with a dozen field types, including signature, initials, date, text, number, checkbox, radio, select, image, file and stamp.
  • Automatic field detection: self-hosted instances can let a bundled machine-learning model suggest fields on an uploaded document, so you do not have to draw every box by hand.
  • Multiple signers per document, each with their own set of fields.
  • Automated emails via SMTP to invite signers and send the completed document.
  • Automatic PDF eSignature plus a signature verification page where you can upload a signed PDF and check it.
  • Storage on local disk or on AWS S3, Google Cloud Storage or Azure.
  • User management, a mobile-optimised signing UI, 7 interface languages and signing in 14 languages.
  • REST API and webhooks for events such as form.completed or submission.created.
  • A built-in MCP endpoint (/mcp, with tokens managed under Settings) that exposes tools to search templates, create templates, send documents and search documents, handy if you want an AI assistant to prepare paperwork for you.
  • Mobile apps for iOS and Android.
DocuSeal Webhook settings with a URL field and checkboxes for form.viewed, form.started, form.completed, form.declined, submission and template events
Webhooks can fire on form, submission and template events. Source: official DocuSeal demo (AGPL-3.0 project, screenshot by uptime.bet)

Free vs. Pro

DocuSeal is open core, and it is upfront about it. The README lists these features as Pro only: company logo and white-labelling, user roles, automated reminders, SMS invitations and identity verification, conditional fields and formulas, bulk sending from CSV/XLSX, SSO/SAML, template creation through the HTML and PDF/DOCX field-tags APIs, and the embeddable signing form and form builder components for React, Vue, Angular and plain JavaScript. As you can see in the screenshot below, using your own signing certificates is also a Pro feature; the free version signs with a certificate chain that DocuSeal generates itself.

DocuSeal PDF Signature settings with a Verify Signed PDF upload area, a Signing Certificates section marked Unlock with DocuSeal Pro, and a preference to flatten form fields in signed PDFs
E-Signature settings: verify signed PDFs, while custom signing certificates require Pro. Source: official DocuSeal demo (AGPL-3.0 project, screenshot by uptime.bet)

Why self-host it?

  • Your contracts stay on your hardware. Signed agreements often contain addresses, bank details or ID numbers. With DocuSeal they live in your own database and storage bucket.
  • No SaaS subscription for the basics. The core signing workflow is part of the open-source edition and runs on hardware you already have.
  • It fits into an existing stack. Webhooks and the API make it easy to push completed documents into an archive or to trigger a notification when a client signs.
  • It is light enough for a homelab. A single container with SQLite works for personal use; PostgreSQL is only needed when you want something more robust.

Installing DocuSeal with Docker Compose

The quickest test is a single container with SQLite:

docker run --name docuseal -p 3000:3000 -v ./docuseal-data:/data docuseal/docuseal:3.4.1

For a permanent setup I prefer PostgreSQL and a pinned version. The upstream docker-compose.yml also starts Caddy to fetch TLS certificates automatically; the version below leaves Caddy out, because most homelabs already have a reverse proxy in front of their services.

1. Create a project folder and a password

mkdir -p ~/docuseal && cd ~/docuseal
echo "POSTGRES_PASSWORD=$(openssl rand -hex 24)" > .env

2. Create docker-compose.yml

services:
  docuseal:
    image: docuseal/docuseal:3.4.1
    container_name: docuseal
    restart: unless-stopped
    depends_on:
      postgres:
        condition: service_healthy
    ports:
      - "3000:3000"
    volumes:
      - ./docuseal:/data/docuseal
    environment:
      DATABASE_URL: postgresql://docuseal:${POSTGRES_PASSWORD}@postgres:5432/docuseal
      # Set to "true" only when DocuSeal is served over HTTPS (e.g. behind a reverse proxy)
      FORCE_SSL: "true"

  postgres:
    image: postgres:18
    container_name: docuseal-postgres
    restart: unless-stopped
    volumes:
      - ./pg_data:/var/lib/postgresql/18/docker
    environment:
      POSTGRES_USER: docuseal
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: docuseal
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U docuseal"]
      interval: 5s
      timeout: 5s
      retries: 5

A few notes on this file:

  • ./docuseal maps to /data/docuseal, the working directory of the container. Uploaded files end up in attachments/ there.
  • If you do not set SECRET_KEY_BASE, DocuSeal generates one on first start and stores it in docuseal.env inside that folder. Back this file up: it is also used to derive the key that encrypts sensitive settings.
  • FORCE_SSL makes Rails assume HTTPS and redirect plain HTTP. If you only test on your LAN via http://, remove the line or set it to false.

3. Start it

docker compose up -d
docker compose logs -f docuseal

4. Run the setup wizard

Open http://<your-server>:3000 (or your proxied domain, e.g. https://sign.example.com). The first visit shows a setup form where you create the admin account and enter the app URL. Use the public URL that signers will open, because DocuSeal builds the links in invitation emails from it.

5. Put it behind a reverse proxy

Point your reverse proxy of choice (Nginx Proxy Manager, Traefik, Caddy, or a tunnel such as Pangolin) at port 3000. If you want the upstream approach instead, download the official compose file and start it with HOST=sign.example.com docker compose up -d; Caddy will then request a certificate for that hostname.

Configuration tips

Email. Without SMTP, DocuSeal cannot send invitations, so set it up early. You can do it in the UI under Settings → Email, or via environment variables: SMTP_ADDRESS, SMTP_PORT (defaults to 587), SMTP_USERNAME, SMTP_PASSWORD, SMTP_DOMAIN, plus SMTP_ENABLE_STARTTLS / SMTP_ENABLE_SSL if your provider needs something other than the STARTTLS default.

DocuSeal Email SMTP settings form with host, port, username, password, optional domain, authentication method and send-from address fields
SMTP settings can be entered directly in the web UI. Source: official DocuSeal demo (AGPL-3.0 project, screenshot by uptime.bet)

Storage. Local disk is the default. If you prefer object storage, DocuSeal supports S3, Google Cloud Storage and Azure, for example a self-hosted S3-compatible bucket on your NAS.

Backups. You need two things: the PostgreSQL database and the ./docuseal folder (attachments and docuseal.env). A tool like Databasus handles the database nicely, and Zerobyte can take care of the folder.

Updates. DocuSeal releases often, sometimes several times a week. Pin the tag, read the release notes, then bump the version and run docker compose pull && docker compose up -d.

Exposure. Signers need to reach the instance, so it usually has to be public. Keep the admin account behind a strong password and enable two-factor authentication (DocuSeal supports authenticator-app codes), and keep the container up to date.

Honest limitations

  • Open core. Reminders, conditional fields, bulk sending, SSO, white-labelling and custom signing certificates require a paid Pro plan. For a homelab that is usually fine; for a business workflow check the list carefully before committing.
  • Legal validity is your responsibility. DocuSeal produces digitally signed PDFs with an audit log, but whether that meets the requirements for a given contract in your country (for example the eIDAS levels in the EU) is a legal question the software cannot answer for you.
  • Attribution term. The extra Section 7(b) term means you cannot strip the DocuSeal branding from a fork's user interface.
  • Fast release cadence. Great for fixes, but it means you should actually follow updates rather than set and forget.

How does it compare?

Two other well-known open-source e-signature projects are Documenso and OpenSign, both licensed under AGPL-3.0 (OpenSign excludes one server directory from that license). If you mainly want a lightweight Docker deployment with SQLite as an option and a polished PDF form builder, DocuSeal is a very easy one to start with. If you only need to edit or merge PDFs and not collect signatures from others, a toolbox like BentoPDF or Stirling PDF is the better fit.

Conclusion

DocuSeal turns "please print, sign and scan this" into a link you send from your own server. The free edition already covers what most homelab users and small teams need: a good form builder, multiple signers, email invitations, signed PDFs, an API, webhooks and now even an MCP endpoint. Pin the version, configure SMTP, back up the database together with docuseal.env, and you have a private alternative to the big e-signature services in about ten minutes. More tools like this are collected under the Self-Hosted and Productivity tags.

Sources

Read more