Independent testing Updated April 2026 387 self-hosting guides 5 VPS providers tested

guide

Self-Hosting with Paperclip: Document Management on Your Own VPS

Learn how to self-host Paperclip for document management. Covers use cases, full setup guide, integrations, and tips for running it on a VPS.

Self-Hosting with Paperclip: Document Management on Your Own VPS

For anyone who handles sensitive documents โ€” contracts, invoices, medical records, research materials โ€” handing them to a cloud SaaS is a trust exercise you may not want to take. Paperclip is a self-hosted document management system that lets you own every byte of your document library.

This article covers what Paperclip does well, who itโ€™s for, how to deploy it on a VPS, and how to integrate it into a broader self-hosted workflow.

What Makes Paperclip Different

Most self-hosted file managers (Nextcloud, Seafile) are general-purpose cloud storage systems. Paperclip is purpose-built for document management: it centers on ingestion, OCR, metadata, and retrieval rather than sync or file sharing.

Key differentiators:

Who Should Use Paperclip

VPS Requirements

Paperclip is lightweight enough for an entry-level VPS:

SpecMinimumRecommended
vCPU12
RAM1GB2โ€“4GB
Storage20GB50GB+
OSUbuntu 22.04 / Debian 12Ubuntu 22.04 LTS
DatabaseSQLitePostgreSQL (multi-user)

Recommended providers:

Full Setup Guide

1. Install Docker

curl -fsSL https://get.docker.com | sh
systemctl enable --now docker

2. Deploy Paperclip with Docker Compose

Create /opt/paperclip/docker-compose.yml:

version: "3.8"

services:
  paperclip:
    image: paperclip/paperclip:latest
    container_name: paperclip
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - paperclip_data:/data
      - /mnt/documents:/watch  # optional watch folder
    environment:
      - PAPERCLIP_SECRET_KEY=your_random_secret_here
      - PAPERCLIP_OCR_ENABLED=true
      - PAPERCLIP_OCR_LANGUAGE=eng  # change for other languages

volumes:
  paperclip_data:

Start the stack:

cd /opt/paperclip && docker compose up -d

3. Expose via HTTPS

Using Caddy for automatic TLS:

apt install caddy -y

/etc/caddy/Caddyfile:

docs.yourdomain.com {
    reverse_proxy localhost:8080
}
systemctl reload caddy

4. Configure Document Types

In the Paperclip web UI, define document types (e.g., โ€œInvoiceโ€, โ€œContractโ€, โ€œReceiptโ€) and assign storage rules. This makes retrieval much faster than relying on filenames alone.

5. Set Up a Watch Folder

Point a local folder on your VPS to the /watch volume mount. Any file dropped there gets automatically ingested, OCRโ€™d, and added to the library โ€” useful for bulk imports or automated workflows.

Integrations and Extensions

Paperless-style workflow: Combine Paperclip with a scanner app (Scanbot, Adobe Scan) that emails or uploads directly to your Paperclip inbox for a fully automated paper-to-searchable-digital pipeline.

Backup to S3: Use rclone to mirror your Paperclip data volume to Backblaze B2 or any S3-compatible bucket:

rclone sync /var/lib/docker/volumes/paperclip_data/_data remote:paperclip-backup

Nginx Proxy Manager: If youโ€™re already running an NPM instance on your VPS, point a proxy host to paperclip:8080 and enable Letโ€™s Encrypt from the GUI.

Authentik / Authelia: Add SSO in front of Paperclip with an identity provider for multi-user installations.

Maintenance Tips

Summary

Paperclip is one of the best-maintained self-hosted document managers available. For a VPS deployment, Hetzner Cloud covers most users at โ‚ฌ4.15/mo. If you need serious storage for a large document archive, Contabo delivers 200GB NVMe at โ‚ฌ5.99/mo.

The combination of Docker simplicity, OCR-by-default, and metadata-first organization makes Paperclip a compelling replacement for cloud document services.


See also: Full VPS comparison at selfhostvps.com