Self-host Documenso with Levelrail
An open-source document signing platform, a self-hosted alternative to DocuSign.
- Authordocumenso
- LicenceAGPL-3.0
- Memory512 MiB
- Archarm64
- Services2
How to self-host Documenso
-
Pull the images
2 images are pulled on your server.
Show images
postgres:17documenso/documenso:v1.12.10
-
Create the app
2 services start in a single Compose app, with 1 named volume mount for your data, on port 3000.
-
Fill in the secrets
7 secrets are generated and stored encrypted, 7 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Documenso requirements
- Memory
- About 512 MiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 3000
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- AGPL-3.0, network copyleft (agpl) license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 3000 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Documenso. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Documenso docs page.
Deploy Documenso your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Documenso from the CLI
levelrail-cli templates deploy documenso --name my-documenso Deploy Documenso with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/documenso/deploy Documenso configuration
Documenso services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| database | postgres:17 | none | documenso_postgresql_data -> /var/lib/postgresql/data |
| documenso | documenso/documenso:v1.12.10 | 3000 | none |
Documenso environment variables
| Variable | Service | Value |
|---|---|---|
| POSTGRES_DB | database | Preset by the template |
| POSTGRES_PASSWORD | database | Generated at deploy |
| POSTGRES_USER | database | Preset by the template |
| CERT_VALID_DAYS | documenso | Preset by the template |
| NEXTAUTH_SECRET | documenso | Generated at deploy |
| NEXTAUTH_URL | documenso | Preset by the template |
| NEXT_PRIVATE_DATABASE_URL | documenso | Generated at deploy |
| NEXT_PRIVATE_DIRECT_DATABASE_URL | documenso | Generated at deploy |
Show all 14 variables
- NEXT_PRIVATE_ENCRYPTION_KEYdocumensoGenerated at deploy
- NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEYdocumensoGenerated at deploy
- NEXT_PRIVATE_SIGNING_LOCAL_FILE_PASSPHRASEdocumensoGenerated at deploy
- NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATHdocumensoPreset by the template
- NEXT_PRIVATE_SIGNING_TRANSPORTdocumensoPreset by the template
- NEXT_PUBLIC_WEBAPP_URLdocumensoPreset by the template
Ports and volumes
- Ports
- 3000
- Volumes
- 1 named mount: documenso_postgresql_data -> /var/lib/postgresql/data
Documenso FAQ
How much memory does Documenso need?
The catalog lists about 512 MiB of memory for Documenso across its 2 services.
Does Documenso run on arm64?
For Documenso, an arm64 image is published; amd64 is image published.
What licence is Documenso under?
Documenso is licensed under AGPL-3.0, which is network copyleft, so source sharing also applies when it is offered as a hosted service.
Does Documenso need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does Documenso bundle?
The template includes Postgres, running as its own service.
Which ports does Documenso use?
Documenso listens on port 3000 inside the stack.
Where does Documenso keep its data?
In a named volume: documenso_postgresql_data mounted at /var/lib/postgresql/data.
Can I deploy Documenso on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id documenso for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image postgres:17, documenso/documenso:v1.12.10 is what you deploy there.