Skip to main content

Docker

note

The easiest way to get started with Typebot is with the official managed service in the Cloud. It takes 1 minute to try out the tool for free. You'll have high availability, backups, security, and maintenance all managed for you by me, Baptiste, Typebot's founder.

That's also the best way to support my work, open-source software, and you'll get great service!

Requirements

You need a server with Docker installed. If your server doesn't come with Docker pre-installed, you can follow their docs to install it.

Getting started

On your server:

  1. Clone the repo:

     git clone https://github.com/baptistearno/typebot.io.git
  2. Set up environment variables

    Copy apps/builder/.env.production.example to apps/builder/.env.production

    Copy apps/viewer/.env.production.example to apps/viewer/.env.production

    Check out the Configuration guide to add your environment variables

  3. Start the applications:

    docker-compose up -d

    It does the following:

    • Create a database
    • Run the migrations
    • Start the builder on port 8080
    • Start the viewer on port 8081

You should see the login screen if you navigate to http://{hostname}:8080. Login with the ${ADMIN_EMAIL} to have access to a Pro account automatically.