Prerequisites
- Docker Desktop (or Docker Engine + Docker Compose v2)
- Git
Step-by-Step Launch
- Clone the repository and create
.env:
- Configure required environment variables in
.env:
- Set
NEXTAUTH_SECRETto a random 32-byte hex string (openssl rand -hex 32). - Set
INSTAGRAM_APP_ID,INSTAGRAM_APP_SECRET,INSTAGRAM_REDIRECT_URI, andMETA_WEBHOOK_VERIFY_TOKENfor Instagram connectivity. - Optionally customize
POSTGRES_USER,POSTGRES_PASSWORD, andPOSTGRES_DB(defaults are pre-configured indocker-compose.yml).
- Start the container stack:
- Verify all containers are healthy:
Container Stack Overview
Data Volumes and Persistence
PostgreSQL and Redis store data in named Docker volumes (postgres_data and redis_data).
- To stop containers while keeping your database intact:
- Warning: Never run
docker compose down -vin production, as-vdeletes your persistent database and Redis volumes.
Helpful Docker Commands
Next Step
Oncehttp://localhost:3000 is running, follow Instagram Setup to connect your Instagram Business or Creator account.