Ana içeriğe atla

Dağıtım Kılavuzu

InfoLens'i Docker Compose ile kendi altyapınıza dağıtın.

Ön Koşullar
  • Docker Engine 24+ ve Docker Compose v2
  • En az 4 GB RAM (8 GB önerilir)
  • Gemini API anahtarı (veya başka bir LLM sağlayıcı)
  • 24000-24003 portları kullanılabilir durumda
1

Klonla ve Yapılandır

bash
git clone https://github.com/gdlabs/infolens-rag.git
cd infolens-rag

# Configure environment
cp .env.example .env
# Edit .env with your Gemini API key and database credentials
2

Yığını Başlat

bash
cd docker

# Start all services (backend + frontend + postgres + clustering)
docker compose --profile postgres -f compose.yaml up -d

# Verify health
curl http://localhost:24000/v1/health
# → {"results":{"message":"ok"}}
3

Platforma Eriş

Ön Yüz

http://localhost:24001

API

http://localhost:24000/v1
4

İlk Giriş

Email: [email protected]

$ docker logs docker-infolens-rag-1 2>&1 | grep OTP-CODE

Giriş şifresizdir: 6 haneli bir kod istemek için bu e-postayı giriş sayfasına girin. SMTP yapılandırılana kadar (Yönetim → Platform), konsol e-posta sağlayıcısı kodu backend günlüklerine yazdırır. Adres default_admin_email ile belirlenir.

Hizmet Mimarisi

24000

Arka Uç API

FastAPI + PostgreSQL

24001

Ön Yüz

Next.js 16 + React 19

24002

Graf Kümeleme

Graspologic + FastAPI

24003

PostgreSQL

pgvector/pgvector:pg16