Back to What we build

    Self-hosted DocuSeal: digital signing on our own infrastructure

    Open-source e-signing on our own subdomain, running on the Mac mini behind a Cloudflare Tunnel. No SaaS subscription, no third party reading our contracts.

    In short

    Digital signing of quotes and contracts is now something we run ourselves, on our own server at home. No monthly subscription with a big provider, and signed documents stay under our own roof. The page where people sign looks exactly like the one you know from DocuSign or HelloSign, only the technology runs on a small Mac sitting in our cupboard.

    Why it matters: the fewer parties that can see client contracts, the less risk. And the setup is half a day of work, costing nothing per signature after that.

    Under the hood

    The problem

    Quotes, NDAs and contracts at a consultancy stack up fast. SaaS e-signing tools work fine, but they cost money per envelope and every signed document sits on a server we do not control. We wanted to keep confidential documents on our own server.

    What we built

    A self-hosted DocuSeal instance on the Mac mini, publicly reachable via our own subdomain:

    • Container stack: docuseal/docuseal:latest + Postgres 16 via colima, no Docker Desktop licence
    • Reverse proxy: Cloudflare Tunnel with its own LaunchAgent, auto-start on login
    • Mail: transactional SMTP via Resend for invitations and signed-document mails
    • Backups: daily pg_dump + tar of the data folder to Nextcloud, 14-day retention
    • Secrets: .env with chmod 600, tunnel credentials separated from app secrets

    The gotcha

    The same Mac mini runs several Cloudflare tunnels side by side. cloudflared tunnel route dns with the tunnel name silently routed to the wrong tunnel. Workaround: always use the tunnel UUID, never the name. One config-{name}.yml and one LaunchAgent per tunnel, never a single multi-tunnel config.

    What we learned

    • Self-hosting AGPL tools on a Mac mini behind a Cloudflare Tunnel is production-ready for solo tooling, as long as backups are solid
    • For a solo consultancy, data sovereignty for contracts is worth more than the hours we spent on the setup
    • Deliberately not automating: no admin or dashboard hook, no skill. Current volume does not justify that complexity

    Result

    All signing now runs on our own infrastructure, with no subscription fees and no contracts sitting on an external SaaS server. From setup to live in half a day, daily backups running, and the first documents signed.

    Back to What we build

    Want something like this for your own team?

    On the Build Track, we rebuild one work process with your team in 90 days, using the tools you already have.