Installation
HarborGuard can be self-hosted using Docker Compose for a complete local deployment.
Prerequisites
- Docker 20.10+ and Docker Compose v2
- PostgreSQL 16 (included in Compose)
- Redis 7 (included in Compose)
- At least 2GB RAM and 10GB disk space
Quick Start
git clone https://github.com/HarborGuard/HarborGuard.git
cd HarborGuard
docker-compose up -d
This starts the web application, workers, PostgreSQL, and Redis. Access the UI at http://localhost:3000.
First Run
Run database migrations and seed the initial admin user:
docker exec harborguard-app npx drizzle-kit push
docker exec harborguard-app npx tsx src/db/seed.ts