# Self-host DocuSeal

> A free, open-source document signing tool, a lighter alternative to DocuSign.

- Page: https://levelrail.com/templates/docuseal/
- JSON: https://levelrail.com/templates/docuseal.json
- Category: Productivity
- Licence: AGPL-3.0 (Network copyleft (AGPL) license)
- Source: https://github.com/docusealco/docuseal
- Upstream docs: https://www.docuseal.co/

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: latest

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| docuseal | docuseal/docuseal | latest | 3000 | docuseal_data -> /data |
| postgresql | postgres | 16-alpine | none | docuseal_postgresql_data -> /var/lib/postgresql/data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| docuseal | DATABASE_URL | generated |
| docuseal | HOST | preset |
| postgresql | POSTGRES_DB | preset |
| postgresql | POSTGRES_PASSWORD | generated |
| postgresql | POSTGRES_USER | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy docuseal --name my-docuseal
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/docuseal/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy DocuSeal 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 docuseal for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image docuseal/docuseal:latest, postgres:16-alpine is what you deploy there.

Self-host DocuSeal, DocuSeal docker compose file, deploy DocuSeal on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
