
Deploy HeyForm Form Builder
HeyForm forms and surveys on private MongoDB and Redis, sign-up closed
Forms
Just deployed
/app/packages/server/static/upload
Data
Redis
Just deployed
/data
MongoDB
Just deployed
/data/db
Deploy and Host HeyForm Form Builder on Railway
HeyForm is an open-source form builder for conversational forms, surveys, quizzes and polls, a self-hosted alternative to Typeform. You design forms with conditional logic, themes and many question types, share them by link or embed them on a site, and read every answer in your own database.
About Hosting HeyForm Form Builder
The template runs HeyForm v3.0.7 with MongoDB 7.0 and Redis 8, all from official images pinned by digest. HeyForm is the only public service. MongoDB requires authentication and HeyForm connects with a user limited to its own database; Redis requires a generated password and keeps sessions and job queues on its volume. Uploaded files live on a volume attached to HeyForm. On the first boot the template creates your owner account from HEYFORM_OWNER_EMAIL (set it to your address before deploying) and a generated password, which you copy from the HeyForm service's variables. Public sign-up starts closed, so nobody else can claim the instance; teammates join through a workspace invite link, and sign-up works without an email server.
Why Deploy HeyForm Form Builder on Railway
Railway provides the HTTPS domain, private networking between HeyForm, MongoDB and Redis, persistent volumes, generated secrets and health-checked deploys. HeyForm waits for both databases before it starts, so first deploys and restarts come up in order, and respondents' addresses are read correctly behind Railway's proxy, so per-visitor limits work.
Common Use Cases
- Collect leads, sign-ups, orders or support requests with forms you host yourself
- Run customer and employee surveys, quizzes and polls, and export the answers to CSV
- Keep form responses in your own database instead of a hosted form service
Dependencies for HeyForm Form Builder Hosting
The deployment uses HeyForm, MongoDB Community Server and Redis.
Deployment Dependencies
- HeyForm v3.0.7 (heyform.net, documentation) with a 5 GB volume for uploads
- MongoDB 7.0 with authentication and a 5 GB volume
- Redis 8 with a password and a 1 GB volume
- Optional: an SMTP provider on port 465 or 587 for password resets, email invitations and notifications
Template Content
