
Deploy Formbricks on Your Own Server
Formbricks - The Open Source Survey & Experience Management solution for fast growing companies
Want to deploy Formbricks on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Formbricks?
Formbricks - The Open Source Survey & Experience Management solution for fast growing companies For more info visit https://formbricks.com/
Self-Host Formbricks
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Deploy
Copy the configuration and run it on your server.
services:
formbricks:
image: formbricks/formbricks:2.1.1
environment:
DATABASE_URL: postgres://formbricks:ac82c53ee6a55c23@formbricks-db/formbricks?sslmode=disable
EMAIL_VERIFICATION_DISABLED: "0"
ENCRYPTION_KEY: 9e716adc0a12e5bb5d1d1208c04dfadde7ad8908314d01810834c8e2ef428d43
INVITE_DISABLED: "0"
MAIL_FROM: example_from_address@example.com
NEXTAUTH_SECRET: 2ca7c4f8912fe8237dcd0bb443d3df83
NEXTAUTH_URL: https://formbricks.your-domain.com/
PASSWORD_RESET_DISABLED: "1"
SIGNUP_DISABLED: "1"
SMTP_HOST: smtp.example_server_address.example.com
SMTP_PASSWORD: a_secure_password
SMTP_PORT: "465"
SMTP_SECURE_ENABLED: "1"
SMTP_USER: usually_example_from_address@example.com
WEBAPP_URL: https://formbricks.your-domain.com/
depends_on:
- formbricks-db
formbricks-db:
image: postgres:13.1
environment:
POSTGRES_DB: formbricks
POSTGRES_PASSWORD: ac82c53ee6a55c23
POSTGRES_USER: formbricks
volumes:
- formbricks-db-data:/var/lib/postgresql/data
volumes:
formbricks-db-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host Formbricks?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
formbricks/formbricks:${formbricks_tag}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"