Levelrail
Skip to content

Self-host Formbricks with Docker ​

An open-source survey and experience-management platform you run on your own infrastructure.

This page describes the Levelrail template for Formbricks (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://formbricks.com/docs/self-hosting/setup/docker.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpgvector/pgvector:pg16none
formbricks_db_data -> /var/lib/postgresql/data
formbricksghcr.io/formbricks/formbricks:4.5.03000
formbricks_uploads -> /apps/web/uploads
redisredis:7-alpinenone
formbricks_redis_data -> /data

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
formbricksCRON_SECRETGenerated at deploy
formbricksDATABASE_URLGenerated at deploy
formbricksENCRYPTION_KEYGenerated at deploy
formbricksNEXTAUTH_SECRETGenerated at deploy
formbricksNEXTAUTH_URLPreset in the template
formbricksREDIS_URLPreset in the template
formbricksWEBAPP_URLPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Formbricks with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Formbricks. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy formbricks --name my-formbricks

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.