DocuSeal is an open-source app for building fillable PDF forms and collecting signatures. Self-hosting it gives you unlimited documents on a server you control.
A working install needs the docuseal/docuseal Docker image, a Postgres database, a persistent volume for uploaded and signed PDFs, and an HTTPS address for the signing links you email out. On Ownkube the DocuSeal template sets all four up in one click.
The short version
- DocuSeal turns a PDF into a form with signature, date, text and checkbox fields, then sends it to one or more signers.
- The DocuSeal template deploys the official image with a managed Postgres database, a volume for documents and an
ownkube.apphostname with automatic HTTPS. - The first visit creates the admin account, so finish setup right after the deploy.
- Add SMTP settings before you send anything. Signers get their links by email.
Why self-host document signing
Most hosted signing services charge per seat, per envelope or both, so the bill grows with every contract a small business sends. People looking for a DocuSign alternative are usually after a flat cost, their documents on their own storage, or both.
DocuSeal covers the everyday work: a form builder over your PDFs, several signers per document, reusable templates, automatic emails and signed PDFs you can download. It also has an API and webhooks for wiring signing into your own app.
DocuSeal sells a Pro plan on top of the open-source core. It adds things like branding, reminders, bulk sending from a spreadsheet and SMS verification. Check which of those you need before you plan a move.
The fastest way: the DocuSeal template
The DocuSeal template on the Ownkube Marketplace creates a Postgres 18 database, deploys the official image, wires the connection string into DATABASE_URL and generates SECRET_KEY_BASE, which keeps sessions valid across restarts. Uploaded and signed documents live on a persistent volume, and DocuSeal migrates its schema on boot.
Deploy it and open the hostname straight away. The first visit runs a short setup that creates the admin account, so complete it before anyone else finds the URL.
The same install runs from okctl:
okctl regions list okctl boxes list --kind database okctl marketplace deploy docuseal --region <region-id> --db-box <box-id> The Marketplace sets up other self-hosted apps the same way. We have guides for NocoDB, Vaultwarden and Directus.
First setup
Create the admin account
The setup page creates your account and your company in one step. That account owns the install. Add teammates from the users settings afterwards.
Configure email
DocuSeal emails each signer a link to their document and sends a copy of the finished PDF when everyone has signed. Open the email settings in DocuSeal and enter the SMTP details from your mail provider. Until you do, you can still copy a signing link by hand and share it.
Use your own domain
Signers see the hostname in every link, so a domain like sign.example.com looks more trustworthy than a generated one. Custom domains need the Personal or Team plan, take two DNS records per host, and your DNS stays at your provider:
okctl domains add <app> sign.example.com Send your first document
- Upload a PDF to create a template.
- Drag fields onto the pages: signature, initials, date, text, checkbox, file upload and others. Assign each field to a signer role, such as "Client" or "Company".
- Send it. Enter each signer's email, choose whether they sign in order, and DocuSeal emails each one their link.
- Track the submission. When the last signer finishes, the signed PDF is ready to download and every party gets a copy by email.
Templates are reusable, so a contract you send every week becomes a two-field form: the signer's name and email.
The manual path
Use the manual path to pin a different version or to see what the template set up.
- Create a database box on Ownkube. Boxes start at $4 a month, plus storage at $0.25 per GB per month.
- Create a web app from
docuseal/docusealwith the version tag you want. The container listens on port3000, and/upmakes a good readiness check. - Attach a persistent volume at
/data/docuseal. DocuSeal stores files on local disk by default, and without a volume a redeploy loses every signed document. - Set the variables:
DATABASE_URL=postgresql://<user>:<password>@<host>:5432/<database> SECRET_KEY_BASE=<a-long-random-string> Store the secret with okctl vars set <app> SECRET_KEY_BASE --secret, which prompts for the value and keeps it out of your shell history.
The docker compose equivalent
If you're comparing this with a DocuSeal docker compose install on a VPS, here's the same setup as a compose file. The postgres service becomes the managed database box, the docuseal service becomes the web deployment, and the docuseal volume becomes the app's persistent volume. The ownkube.app hostname replaces the reverse proxy, the certificate and the DNS record.
services: postgres: image: postgres:17 environment: POSTGRES_DB: docuseal POSTGRES_USER: docuseal POSTGRES_PASSWORD: change-me volumes: - pgdata:/var/lib/postgresql/data docuseal: image: docuseal/docuseal:latest ports: - "3000:3000" environment: DATABASE_URL: postgresql://docuseal:change-me@postgres:5432/docuseal SECRET_KEY_BASE: change-me-too volumes: - docuseal:/data/docuseal depends_on: - postgres volumes: pgdata: docuseal: On a VPS the compose file leaves you to set up the reverse proxy, the certificate, backups for both the database and the document folder, OS updates and restarts after a reboot. Signers notice an outage right away, because their email links stop working.
Sizing and cost
DocuSeal is light between documents and does its heavy work when it renders and signs PDFs. The template asks for 384 MiB of memory and allows up to 1 GiB.
A small business sending a few documents a day fits metered pricing, billed per minute. For a flat price, Spark 1 (0.5 GiB, $5 a month) covers light use, and Spark 2 (1 GiB, $10 a month) gives headroom for large PDFs.
Add the smallest database box at $4 a month and 5 GB of database storage at $1.25. On Spark 1 that comes to about $10 a month, however many documents you send.
On the Personal and Team plans you can turn on 7-day backups with point-in-time restore for the database. Signed PDFs live on the app's volume, so download the ones you must keep for the long term, or keep a copy in your document archive.
If a client wants their signing server inside their own AWS account, the same app moves there with no rewrite, and logs, metrics and health checks come with it.
FAQ
Are DocuSeal signatures legally binding?
DocuSeal produces electronic signatures with a record of who signed and when. Whether an e-signature is enough for a given document depends on the country and the type of document, the same as with any hosted signing service. For anything unusual, ask a lawyer.
Does DocuSeal need Postgres?
DocuSeal can run on SQLite, but Postgres on a managed database box keeps submissions and templates off the app container. It also makes database backups a setting you switch on.
Who becomes the admin?
Whoever completes the setup page on the first visit. Finish setup right after the deploy.
Can I embed signing in my own app?
DocuSeal has an API and webhooks for creating submissions and reacting when a document is signed. Some embedding options are part of DocuSeal's Pro plan, so check their docs for your case.
How do I update DocuSeal?
Change the image tag on the deployment and redeploy. DocuSeal migrates its database schema on boot. Pin a version so an upgrade is a step you choose and can roll back.
Where Ownkube fits
Document signing needs a database, a volume for the PDFs, working email and a stable HTTPS address that signers trust. Ownkube Compute runs the hosting side, and the email goes out through your own mail provider. Deploy the template, finish setup, add SMTP and send your first contract. See Ownkube pricing for the per-minute wallet model, from $5 a month. Deploy my first app.