DocuSeal
Open source platform for secure digital document signing and processing
Alternative to: docusign
DocuSeal lets you create PDF forms with a drag-and-drop builder and collect legally binding signatures from one or more parties, all on infrastructure you control. It supports multi-party signing, an embeddable JavaScript widget, a REST API, and automated email invitations with audit trails.
DocuSeal Docker Compose example
Self-host DocuSeal on your own server, homelab, or VPS starting from this Docker Compose example.
It runs DocuSeal in Docker containers using the official docuseal/docuseal:latest, postgres:18 images, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
app:
image: docuseal/docuseal:latest
depends_on:
postgres:
condition: service_healthy
volumes:
- data:/data/docuseal
restart: unless-stopped
environment:
# External host DocuSeal is served on, e.g. docuseal.example.com. Used to build absolute links. Leave empty to derive it from the request.
HOST: ""
# Host for which to force HTTPS redirects. Set to your external domain when running behind an HTTPS reverse proxy.
FORCE_SSL: ""
# PostgreSQL connection string. Points at the bundled postgres service below.
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/docuseal"
postgres:
image: postgres:18
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/18/docker
environment:
# Internal Postgres credentials, only reachable inside the compose network.
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "docuseal"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
data:
db_data: Prefer a managed setup? WinterFlow installs, configures, and updates DocuSeal for you using this same Docker Compose configuration.