Prerequisites
Before getting started, make sure you have:- Docker Desktop installed and running: Download from docker.com.
- Git installed: Download from git-scm.com.
Step-by-Step Launch (3 Minutes)
Step 1: Clone the Repository
Open your terminal and clone the project:Step 2: Prepare Your Environment File
Copy the environment template:Copy-Item .env.example .env)
The default .env.example is pre-configured to connect directly to the containerized PostgreSQL and Redis services. Configure your NEXTAUTH_SECRET (generate with openssl rand -hex 32 or visit generate-secret.vercel.app/32), Google OAuth credentials, and optional Cloudflare R2 storage keys as outlined in the Installation guide.
Step 3: Build and Start Containers
Run the compose command to pull dependencies, build images, and launch all services in detached mode:Step 4: Verify Containers Are Healthy
Check the status of all running services:Up or running.
Container Stack Overview
Next Step: Connect Your Instagram Account
Once your Docker containers are running and healthy:- Open your browser and navigate to
http://localhost:3000. - Sign in to your workspace dashboard.
- Head directly to the Instagram Setup guide to configure your Meta Developer App, launch your webhook tunnel, and start receiving live events!
Data Volumes and Persistence
Instance uses Docker named volumes to ensure your CRM leads, conversation histories, and automation configurations persist across container restarts and system reboots:postgres_data: Stores the raw PostgreSQL database files.redis_data: Persists queued BullMQ jobs and rate limit states.
-v flag to docker compose down unless you explicitly intend to wipe your local database and start completely fresh.)
Helpful Docker Commands
Stream Live Logs
View output from all services simultaneously:Rebuilding Containers After Code Updates
When pulling new updates from Git, rebuild and restart containers with:Running Prisma Migrations Inside Docker
To apply schema updates directly to the containerized database:Troubleshooting
- Port 5432 or 6379 Already in Use: If you have a local PostgreSQL or Redis service running natively on your computer, stop them first or change the host port mappings in
docker-compose.yml. - Containers Exit Unexpectedly: Run
docker compose logs [service-name]to view the stack trace. The most common cause is missing mandatory environment variables in.env.