Install Formbricks in Ubuntu 24.04

Install docker
$mkdir formbricks-quickstart && cd formbricks-quickstart
$curl -o docker-compose.yml https://raw.githubusercontent.com/formbricks/formbricks/main/docker/docker-compose.yml
$sed -i "/NEXTAUTH_SECRET:$/s/NEXTAUTH_SECRET:.*/NEXTAUTH_SECRET: $(openssl rand -hex 32)/" docker-compose.yml
$sed -i "/ENCRYPTION_KEY:$/s/ENCRYPTION_KEY:.*/ENCRYPTION_KEY: $(openssl rand -hex 32)/" docker-compose.yml
$sed -i "/CRON_SECRET:$/s/CRON_SECRET:.*/CRON_SECRET: $(openssl rand -hex 32)/" docker-compose.yml

$docker compose up -d

Set up nginx reverse proxy
Site is located at http://localhost:3000
Set up certbot

edit docker-compose.yml

WEBAPP_URL: https://[your domain]