mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-12 17:49:49 -06:00
* feat: poc * merge: individual docker-compose files * fix: nits * feat: postgres now only accessible internally * feat: emoji time * cleanup: my commented commands * better emoji and warning on domain name * fix: better handling of docker check * feat: follow principle of least privilege and remove excess sudo in commands * feat: read machine name dynamically * feat: documentation for prod script * feat: remove custom networks in the docker compose * cleanup: comments in script * update emojis to fix spacing * attempt: new groyp * attemp: move new group command at end for the ability to parse vars * feat: it all works without sudo yay * feat: cleanup docs as suggested * documentation: self hosting for prod script --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# Self Host Formbricks Production Instance
|
|
|
|
Follow this guide to get your Formbricks instance up and running with a Postgres DB and SSL certificate using a single script:
|
|
|
|
## Requirements
|
|
|
|
Before you proceed, make sure you have the following:
|
|
|
|
- A Linux Ubuntu Virtual Machine deployed with SSH access.
|
|
|
|
- An A record set up to connect a custom domain to your instance. Formbricks will automatically create an SSL certificate for your domain using Let's Encrypt.
|
|
|
|
## Single Command Setup
|
|
|
|
Copy and paste the following command into your terminal:
|
|
|
|
```bash
|
|
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/formbricks/formbricks/main/docker/production.sh)"
|
|
```
|
|
|
|
The script will prompt you for the following information:
|
|
|
|
1. **Overwriting Docker GPG Keys**: If Docker GPG keys already exist, the script will ask if you want to overwrite them.
|
|
|
|
2. **Email Address**: Provide your email address for SSL certificate registration with Let's Encrypt.
|
|
|
|
3. **Domain Name**: Enter the domain name that Traefik will use to create the SSL certificate and forward requests to Formbricks.
|
|
|
|
That's it! After running the command and providing the required information, visit the domain name you entered, and you should see the Formbricks home wizard!
|