What is Documenso?
Documenso is the venture-grade open-source e-signature product: a signing experience recipients do not need explaining, teams and templates for the senders, an API for automation - and signed PDFs sealed with a real PKCS#12 certificate, so documents carry cryptographic proof, not just an audit log.
The deployment is stateless: one container on a managed Postgres, with the signing certificate supplied as base64 in env (self-signed is explicitly supported - the README has the three openssl commands). NEXT_PUBLIC_* vars are runtime-injected, so the official image deploys behind any domain without rebuilds.
Hosted Documenso prices by tier, with the heavier features in higher tiers; DocuSign charges per envelope. Self-hosted is unlimited documents - the AGPL edition does not gate signing.
What you get
- Signing workflows with templates, teams, and recipient roles
- PKCS#12 document sealing - cryptographic proof in the PDF
- API + webhooks for automated sends
- Stateless container: cert via env, state in managed Postgres
- Runtime-injected public URL - no image rebuilds per domain
- AGPL, 13k+ stars, active development
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
documenso | app + API (:5000) | yes |
db | Postgres 14+ - managed service on Lyngbak, container locally | no |
Before you deploy
NEXTAUTH_SECRET / NEXT_PRIVATE_ENCRYPTION_KEY (+SECONDARY)core secrets
SIGNING_CERT_B64 (+ passphrase)base64 PKCS#12 cert - self-signed OK, generate once and keep
SMTP_*the signing flow is email-driven
NEXT_PUBLIC_WEBAPP_URLthe app’s https domain after first deploy
Sizing and billing
Upstream quotes a 2 GB floor for the app. Fully stateless - the managed Postgres holds everything, so redeploys and the comfort tier are uneventful.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| DocuSign | Standard | $30/mo | per user/mo (annual), 100 envelopes per user per year |
| PandaDoc | Starter | $19/mo | per seat/mo (annual), 110 documents/year, $3.50 per extra doc on monthly |
| Documenso Cloud | Teams | $40/mo | 5 users included, +$8/user - same software, their hosting |
Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Why does it need a certificate, and is self-signed really OK?
The cert seals signed PDFs so the signature verifies cryptographically inside the document. Documenso explicitly supports self-signed certs (three openssl commands, base64 into env) - the seal proves integrity either way. Generate it once and keep it: old documents verify against the cert that sealed them.
How does pricing compare to DocuSign and PandaDoc?
DocuSign Standard prices per user with 100 envelopes/year; PandaDoc Starter prices per seat with 110 documents/year. This stack has unlimited documents and users - you pay for the compute it reserves - and Documenso’s own cloud sells its Teams features as a paid tier.
Documenso or DocuSeal?
Documenso for the recipient-facing polish, teams, and cert-sealed PDFs; DocuSeal for the lighter footprint and fastest setup. Both are AGPL with un-gated signing - the honest answer is taste, and the catalogue ships both.