Skip to content

Self-host Formbricks

updated Sep 2026prices checked · Jul 2026Install verified on Ubuntu 26.04 · Sep 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →

An open-source survey platform for link, website and in-app surveys, with a response dashboard and integrations. The core is AGPL-3.0; enterprise features such as SSO and role management need a paid license key.

Key facts

CategoryForms & surveys
LicenseAGPL-3.0
StackTypeScript, Next.js, PostgreSQL
Min RAM4096 MB
Official imageyes
Measured idle RAM866 MB
Difficulty

What you need

  • Any VPS with at least 4096 MB of RAM
  • A domain you control — most self-hosted setups need HTTPS in front of them
  • About an afternoon — budget time for troubleshooting
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + US
Get Hetzner Cloud (opens in new tab)
Kamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + Asia
Start free on Kamatera → (opens in new tab)
DigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + Asia
Deploy on DigitalOcean → (opens in new tab)

Paid link — we earn a commission if you shop through it.

Install

Run these commands on your server:

# Formbricks — official production compose (Postgres, Valkey, Hub, Cube, SpiceDB)
B=https://raw.githubusercontent.com/formbricks/formbricks/stable/docker
mkdir -p cube/schema
curl -fsSL -o docker-compose.yml $B/docker-compose.yml
curl -fsSL -o authzed-postgres-bootstrap.sh $B/authzed-postgres-bootstrap.sh
chmod 700 authzed-postgres-bootstrap.sh
curl -fsSL -o cube/cube.js $B/cube/cube.js
curl -fsSL -o cube/schema/FeedbackRecords.js $B/cube/schema/FeedbackRecords.js
PG=$(openssl rand -hex 32)
cat > .env <<EOF
WEBAPP_URL=http://SERVER_IP:3000
BETTER_AUTH_URL=http://SERVER_IP:3000
POSTGRES_PASSWORD=$PG
POSTGRES_PASSWORD_URL_ENCODED=$PG
BETTER_AUTH_SECRET=$(openssl rand -hex 32)
ENCRYPTION_KEY=$(openssl rand -hex 32)
CRON_SECRET=$(openssl rand -hex 32)
HUB_API_KEY=$(openssl rand -hex 32)
CUBEJS_API_SECRET=$(openssl rand -hex 32)
AUTHZED_TOKEN=$(openssl rand -hex 32)
AUTHZED_DATABASE_PASSWORD=$(openssl rand -hex 32)
EOF
chmod 600 .env
docker compose up -d
# open http://SERVER_IP:3000 and create the first user

More self-hosted tools

Forms & surveys

HeyForm

An open-source conversational form builder for surveys, quizzes and polls, with conditional logic, file uploads and webhooks. It runs as a Node.js app backed by MongoDB and a Redis-compatible store.
TypeScriptNestJSReactMongoDB
easyRead guide →
Team chat

Mattermost

A polished, Slack-style team chat you fully own — channels, threads, DMs, integrations, and a solid mobile app. The go-to self-hosted Slack replacement for teams that want their messages on their own server. The default Docker image is the Enterprise build: without a licence it runs as the free Entry edition, which keeps only the latest 10,000 channel messages. Set MATTERMOST_IMAGE=mattermost-team-edition in .env for the MIT-licensed Team Edition.
GoReactPostgreSQL
moderateRead guide →
AI Coding Agents

OpenHands

A self-hosted control center for AI coding agents: describe a task in natural language and OpenHands writes code, runs commands, and iterates on its own. It ships as Agent Canvas, an npx-installable web UI that runs its own agent or third-party agents (Claude Code, Codex, and other Agent-Client-Protocol-compatible agents), and you bring your own LLM API key (Anthropic, OpenAI, or a self-hosted OpenAI-compatible endpoint).
TypeScriptReactPython
moderateRead guide →
Web analytics

OpenPanel

An open-source web and product analytics platform that pitches itself as "the power of Mixpanel with the ease of Plausible": funnels, cohorts, user profiles, session history and replay, A/B tests, revenue tracking, real-time dashboards, and SDKs for web, iOS/Android and server-side events — cookieless. Licensed AGPL-3.0; the documented install clones a dedicated git branch, a setup quiz writes .env, and a start script brings up seven containers (Caddy, PostgreSQL, Redis, ClickHouse, API, dashboard, worker). Free to self-host with unlimited events, per its pricing page.
TypeScriptNext.jsFastifyPostgreSQLClickHouseRedis
moderateRead guide →

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.