Self Hosting ConvoForm
ConvoForm is designed to be easily self-hosted using Docker.
Prerequisites
- Docker installed on your machine.
- Git installed.
- OpenAI API Key.
- Clerk API Keys (for authentication).
Quick Start via Docker Compose
-
Clone the repository:
git clone https://github.com/growupanand/ConvoForm.git cd ConvoForm -
Configure Environment Variables:
Copy the example environment file:
cp .env.example .envEdit
.envand fill in your API keys (OpenAI, Clerk, etc.).Important: Generate strong keys for:
ENCRYPTION_KEY— Used to encrypt channel bot tokens stored in the database. Generate withopenssl rand -hex 32.
-
Run with Docker Compose:
docker-compose up --buildThis starts three services:
Service Port Description web 3000Next.js web application websocket-server 4000Real-time browser sync channels-server 4001External channel webhooks (Telegram, etc.) -
Access the Application: Open http://localhost:3000 in your browser.
Telegram Channel Setup
To use Telegram bot integration with a self-hosted instance:
- Create a bot via @BotFather on Telegram
- In the ConvoForm UI, go to Channels and add your bot token
- Expose your channels-server to the internet (e.g., via ngrok or a reverse proxy):
ngrok http 4001 - Set
CHANNELS_SERVER_URLin your.envto the public URL (e.g.,https://xxxx.ngrok.io)
Last updated on