50% off 所有套餐限时优惠,起价 $2.48/mo
HeyForm

HeyForm

HeyForm 是一款开源表单构建工具,是 Typeform 的替代方案,支持逻辑分支、计算、文件上传、支付集成和团队工作区。采用 AGPL 协议,提供免费托管层和自托管选项,适用于问卷调查、潜在客户收集和在线测验。

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

访问你的 HeyForm 实例

  • 打开浏览器,访问: http://<Server_IP>
  • 通过注册页面创建你的第一个账户。

管理注册功能(安全提示)

注册功能默认开启。

要禁止新用户注册:

  1. Edit the .env file: APP_DISABLE_REGISTRATION=true
  2. Apply changes: docker compose -f /root/heyform/docker-compose.yml up -d

这可以防止未经授权的用户创建账户。

重要文件与目录

  • Application directory: /root/heyform
  • Docker 环境配置文件: /root/heyform/.env
  • Docker Compose 文件: /root/heyform/docker-compose.yml
  • 已上传的表单图片: /root/heyform/assets/
  • MongoDB 数据卷: mongodb_data stored under /var/lib/docker/volumes/
  • KeyDB 数据卷: keydb stored under /var/lib/docker/volumes/
  • Nginx 反向代理配置: /etc/nginx/sites-available/heyform.conf

域名与 SSL 配置

将你的域名指向服务器 IP。

编辑 Nginx 配置:

vim /etc/nginx/sites-available/heyform.conf

Replace server_name <IP>; with server_name <your-domain>;

Install Certbot:

apt install -y certbot python3-certbot-nginx

运行 Certbot 签发 SSL 证书:

certbot --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>

测试并重载 Nginx:

sudo nginx -t
sudo systemctl reload nginx

Open in browser: https://<your-domain>

更多自托管内容

Related apps.

立即部署 HeyForm。 From $2.48/mo.