Self-hosted app·Forms, surveys and feedback
HeyForm hosting
on a Panama VPS.
HeyForm hosting on a Panama VPS: Docker Compose for v3, sizing for MongoDB and KeyDB, TLS, backups and what you may not run.
- MongoDB
- Docker
- Caddy
- Debian
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/07
Short answer.
Yes. HeyForm's community edition runs on our Standard cloud VPS — 4 vCPU, 4 GB RAM, 160 GB NVMe and 15 TB of monthly transfer for $12.99 — in PTY1, Panama City, as four containers: HeyForm itself, MongoDB, KeyDB and Caddy for TLS. What decides whether you are still happy with it in six months is persistence. People using an early version of the upstream compose example lost their data on the first docker compose pull because it declared no volumes, and the example on HeyForm's documentation site today still mounts uploads at the path the old 0.x images used, while the v3 images write them somewhere else. Pin the image tag, mount the paths given below, and restore a dump once before you publish a form anyone depends on.
02/07
What HeyForm is
and who runs it.
HeyForm builds conversational forms: one question per screen, with conditional logic, hidden fields, file uploads, Stripe payment fields, custom CSS, custom domains, and integrations ranging from plain webhooks to Google Sheets, Slack and Zapier. Most people who self-host it want Typeform-style surveys without handing their respondents' answers to a SaaS processor. The code lives at heyform/heyform on GitHub (about 9,000 stars in early November 2026) as a Node.js server and a React web app, and ships as a multi-architecture Docker image, heyform/community-edition. The same team sells a hosted service at heyform.net, which is what pays for development.
The licence is AGPL-3.0, and the project's own reading of it is short: running HeyForm unmodified is unrestricted; if you modify it, you publish your changes; if you resell a modified version, you also link prominently to the original project and to your fork. Version numbers jumped from 0.1.0 to 3.0.0, released on 6 August 2026 after a series of alphas and ten release candidates. Docker Hub has since received v3.0.4 (15 October), v3.0.5 (24 October) and v3.0.6 (1 November 2026), while the GitHub releases page still shows v3.0.3 of 9 September as its latest release note. When you decide what to pin, read the registry tags as well as the release page.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/07
Requirements and sizing.
The v3.0.6 image is Node 22 on Alpine 3.23, listens on port 9157 and weighs about 264 MB compressed for amd64. MongoDB holds workspaces, forms and submissions; KeyDB, a Redis-compatible server, backs the job queues and cache. HeyForm does not terminate TLS — its documentation says it speaks plain HTTP and expects a reverse proxy in front for HTTPS — so the fourth container is Caddy, which obtains and renews the certificate for you.
Two hardware details matter more than raw size. MongoDB's production notes also currently mark 8.0 and later as incompatible with Linux 6.19, because of a TCMalloc issue. Debian 13 ships a 6.12 kernel, so leave the stock kernel in place rather than pulling a newer one from backports underneath the database.
Memory is where small plans run out. By default MongoDB sizes its WiredTiger cache at half of (RAM − 1 GB), which is 1.5 GB on a 4 GB server, before Node, KeyDB and the kernel's page cache get anything. The compose file below caps it at 1 GB, leaving room for the HeyForm process and for file caching.
| Plan | vCPU / RAM / NVMe | Transfer included | Price/mo | For HeyForm |
|---|---|---|---|---|
| Starter | 2 / 2 GB / 80 GB | 10 TB | $6.99 | Tight: four processes share 2 GB with no slack for exports |
| Standard | 4 / 4 GB / 160 GB | 15 TB | $12.99 | Recommended for one organisation's forms |
| Pro | 6 / 8 GB / 320 GB | 20 TB | $22.99 | Many workspaces, large submission sets, local uploads |
Submissions are small documents; uploads are what fill disks. HeyForm accepts files of up to 10 MB each by default, so 160 GB holds, in theory, about 16,000 maximum-size uploads before you subtract the OS, the images and the database. Once your forms take files, move uploads to object storage through HeyForm's native S3 settings. Transfer is metered: the Standard plan includes 15 TB a month, not unmetered traffic. As a theoretical figure, at an assumed 2 MB per form view (renderer, fonts, a background image), 15 TB covers roughly 7.5 million views a month.
Only ports 80 and 443, plus SSH, need to face the internet. Keep 9157, 27017 and 6379 on Docker's internal network and do not publish them: Docker writes its own iptables rules for published ports, and those bypass the ufw or nftables rules you add on the host, so not publishing is the firewall that holds. MongoDB and KeyDB run without authentication in this layout, which is acceptable only because nothing outside the compose network can reach them.
04/07
How to deploy it
with us.
- 01
1. Order and prepare the server
Order a Cloud VPS Standard with Debian 13. Payment is in crypto and the sign-up is no-KYC: an email address is enough. Create the DNS A record for your form hostname (
forms.example.combelow) pointing at the server's IPv4 before the first start, so Caddy can obtain a certificate immediately. Install Docker Engine and the compose plugin from Docker's Debian repository, confirm withdocker compose version, and run the AVX check above. - 02
2. Secrets, compose file and Caddyfile
mkdir -p /opt/heyform && cd /opt/heyform umask 077 printf 'SESSION_KEY=%s\nFORM_ENCRYPTION_KEY=%s\n' \ "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .envAdd your
SMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSWORDandSMTP_FROMlines to the same.env. Both keys must stay fixed for the life of the instance: losing or regenerating them invalidates sessions and breaks encrypted form links you have already shared, so.envbelongs in every backup.# /opt/heyform/compose.yaml services: heyform: image: heyform/community-edition:v3.0.6 restart: unless-stopped depends_on: [mongo, keydb] env_file: .env environment: APP_HOMEPAGE_URL: https://forms.example.com APP_DISABLE_REGISTRATION: "false" # set to "true" once your account exists MONGO_URI: mongodb://mongo:27017/heyform REDIS_HOST: keydb REDIS_PORT: "6379" volumes: - uploads:/app/packages/server/static/upload mongo: image: mongo:8.0 restart: unless-stopped command: ["mongod", "--wiredTigerCacheSizeGB", "1"] volumes: - mongo:/data/db keydb: image: eqalpha/keydb:x86_64_v6.3.3 restart: unless-stopped command: keydb-server --appendonly yes --protected-mode no volumes: - keydb:/data caddy: image: caddy:2 restart: unless-stopped ports: ["80:80", "443:443"] volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy:/data volumes: uploads: mongo: keydb: caddy:# /opt/heyform/Caddyfile forms.example.com { reverse_proxy heyform:9157 }This departs from the upstream example in three places. The upload volume is mounted at
/app/packages/server/static/upload, the directory the v3 Dockerfile creates and runs from, whereas the documentation still mounts/app/static/upload. MongoDB is the officialmongo:8.0image rather than Percona's build, because it shipsmongodumpandmongorestore, which the backup step relies on; HeyForm only needs a connection URI. Every image tag is pinned. - 03
3. First start and closing registration
Run
docker compose up -dand followdocker compose logs -f heyform; the server creates the database and runs its migrations before it starts listening. Openhttps://forms.example.com, create the owner account, then setAPP_DISABLE_REGISTRATIONto"true"and rundocker compose up -dagain. An open sign-up page on a public address invites strangers to host forms under your domain, including the phishing kind, and those complaints arrive at your door. Invite colleagues from a workspace instead, or use the generic OIDC login added in v3.0.3, leavingOIDC_ALLOW_PROVISIONINGoff unless you trust the identity provider.APP_HOMEPAGE_URLmust match the URL people type, scheme included; the documentation warns that a mismatch causes login failures.Then test persistence while there is nothing to lose. Upload an image in a test form, check it with
docker compose exec heyform ls static/upload, rundocker compose down && docker compose up -d, and reload the form. If the image has gone, the mount is wrong, and you have found out on a test form. - 04
4. Uploads, mail, backups and upgrades
HeyForm talks to the bucket over the S3 API; there is nothing to format or mount.
HeyForm sends password resets, workspace invitations and submission notifications through whatever the
SMTP_*variables point at. Outbound port 25 is open on every VPS, so running your own mail server is possible, but for a few hundred notifications a month a relay on port 587 with an established sending reputation will reach more inboxes than a fresh IP (our answer on port 25).Back up with a dump, not just a disk image:
# /etc/cron.d/heyform-dump — daily at 03:15 (note the escaped %) 15 3 * * * root cd /opt/heyform && docker compose exec -T mongo mongodump --db heyform --archive --gzip > /var/backups/heyform-$(date +\%F).archive.gzShip
/var/backupsand/opt/heyform/.envoff the server with restic to an object-storage bucket, and if uploads still live in the localheyform_uploadsvolume, include a tarball of it. The paid daily VPS backups are a useful second layer, but the dump is what you can restore into a scratch VPS in ten minutes withmongorestore --archive --gzip --dropand prove works. For upgrades: take a dump, read the changes between your tag and the next, edit the tag, thendocker compose pull && docker compose up -d.
05/07
What it costs.
| Item | Per month |
|---|---|
| Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps) | $12.99 |
| Daily backups (+20 %) | $2.60 |
| Object storage, a 250 GB bucket (uploads and dump archives) | $1.99 |
| Total, monthly billing (theoretical) | $17.58 |
Yearly billing takes roughly 25 % off the VPS, which brings it to about $9.75 a month in theory. The object-storage buckets are billed by size only, with unlimited traffic and no request fees. Payment is in crypto (BTC, ETH, XMR, USDT, USDC, LTC and others) with prices and balances in US dollars; top-ups run from $25 to $5,000, a $250 top-up carries a 15 % bonus, and the unused paid part of a top-up is refundable within 14 days. The full grid is on the pricing page.
06/07
Jurisdiction and your
respondents' data.
Forms and submissions sit on NVMe in PTY1, Panama City, on servers operated by Cyber Host International, S.A. Article 29 of Panama's Constitution allows private communications to be intercepted only on the order of a judicial authority, and private documents to be examined only on the order of a competent authority for specific purposes. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. Panama and the United States are, however, bound by a mutual legal assistance treaty in force since 6 September 1995, so a US request has a formal route; it is simply not a shortcut. Whether Panama's Law 51 of 2009, which makes telecommunications operators keep certain user data for six months, reaches a hosting provider is a question for Panamanian counsel; the wider picture is on our offshore hosting in Panama page.
For a form tool, the more practical legal question is yours, because you are the party collecting the answers. Panama's Law 81 of 2019, implemented by Executive Decree 285 of 2021, is the local data-protection framework. If your respondents are in the EU, note that Panama has no EU adequacy decision, so the transfer needs appropriate safeguards such as the 2021 standard contractual clauses. Self-hosting also keeps data in Panama only as far as your configuration does: a Google Sheets, Slack or webhook integration, reCAPTCHA, Unsplash backgrounds and the OpenAI features each send data to someone else's servers. Since v3.0.0-rc.5 HeyForm can serve Google Fonts locally, which removes one of those calls.
07/07
What you may not run,
and what is on you.
An untended form builder is a phishing kit with a nice editor, and that is where we are strictest. On a HeyForm instance hosted with us, the following are not allowed:
- forms that imitate a bank, a payment provider, a webmail or any other login page to collect credentials or card data;
- using upload fields or the uploads bucket to distribute malware;
- sending unsolicited bulk mail, whether through HeyForm's notifications or a mail server on the same VPS;
- any content that is manifestly unlawful.
You answer for every form on your instance, including those created by people you gave accounts to. Keep registration closed or vet who has an account; keep HeyForm, MongoDB and Debian patched; leave ALLOW_PRIVATE_OUTBOUND at its default of false, since HeyForm's own documentation warns that enabling it lets any form owner's webhooks reach your internal network; publish a privacy notice on forms that collect personal data and delete answers you no longer need. A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful — a phishing form falls in the second category. To reach us, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can I use the latest tag?
You can, and sooner or later it will hurt. latest moved to v3.0.6 on 1 November 2026, and an unattended pull runs whatever migrations the new image brings against your only copy of the data. Pin the tag, take a dump, and upgrade on purpose.
Will HeyForm run on the $6.99 Starter plan?
We recommend Standard because 2 GB has to hold MongoDB, the Node process, KeyDB and the page cache at the same time. If you try Starter for a personal instance, cap WiredTiger at 0.5 GB in the compose file and watch docker stats during your first CSV export before you rely on it.
Do I need SMTP if registration is closed?
Plan on it. Password resets, workspace invitations and submission notifications all go out by email, and an instance without working mail tends to be discovered the day someone forgets a password.
Can MongoDB's data live on object storage?
No. Our object storage is a set of S3-compatible buckets reached with an endpoint and access keys, not a disk; nothing under a database should sit on an rclone mount. Keep MongoDB on the VPS's NVMe and send the dump archives and uploads to the bucket.
Can I offer HeyForm to my own clients?
Yes, within the AGPL: unmodified is fine; if you change the code, publish your changes and, for a commercial modified version, link to the original project and your fork. Give each client a workspace rather than opening registration, because their forms are your responsibility under our acceptable-use terms.
Sources
Every fact on this page, with its source
Accessed 5 Nov 2026 unless noted.
Panamanian law and authorities
- Constitution of Panama, article 29, Gaceta Oficial 25176 (2004)s3-legispan.asamblea.gob.pa
- Law 81 of 26 March 2019 on personal data protection, Gaceta Oficial 28743-A (implemented by Executive Decree 285 of 28 May 2021)gacetaoficial.gob.pa
- Law 51 of 2009, article 6 (six-month retention for telecommunications providers), Gaceta Oficial 26374 of 23 September 2009gacetaoficial.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act Resources (executive agreements with the UK and Australia only)justice.gov · checked 31 Oct 2026
- Regulation (EU) 2016/679 (GDPR), article 46eur-lex.europa.eu
- Commission Implementing Decision (EU) 2021/914 on standard contractual clauseseur-lex.europa.eu
Industry, providers and software
- HeyForm releases on GitHub (v3.0.0 on 6 August 2026, v3.0.3 on 9 September 2026 with generic OIDC, v3.0.0-rc.5 self-hosted Google Fonts)github.com
- HeyForm Dockerfile at tag v3.0.6 (Node 22.23.4 on Alpine 3.23, working directory /app/packages/server, upload directory static/upload, port 9157)github.com
- GitHub discussion #54, Persist Data for Docker Compose (data lost on pull with the early example)github.com
Other references
- HeyForm documentation, Self-Hosting (compose examples, port 9157, plain HTTP behind a reverse proxy, APP_HOMEPAGE_URL warning)docs.heyform.net
- HeyForm documentation, Environment Variables (APP_DISABLE_REGISTRATION, UPLOAD_FILE_SIZE default 10 MB, S3_, SMTP_, OIDC_, ALLOW_PRIVATE_OUTBOUND)docs.heyform.net
- HeyForm documentation, License (AGPL-3.0 and the project's three use cases)docs.heyform.net
- Docker Hub, heyform/community-edition (tags v3.0.4 to v3.0.6 and latest, image sizes)hub.docker.com
- MongoDB, Production Notes (AVX requirement from 5.0, 8.0+ incompatibility with kernel 6.19)mongodb.com
- US Department of State, Panama–US mutual legal assistance treaty (signed 1991, in force 6 September 1995)state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.