2025-10-04 15:05:07 +05:30
|
|
|
---
|
|
|
|
|
title: "Prerequisites"
|
2025-11-06 10:08:27 +05:30
|
|
|
description: "System requirements and setup needed to run Dograh AI locally"
|
2025-10-04 15:05:07 +05:30
|
|
|
---
|
2025-09-30 09:43:16 +05:30
|
|
|
|
2025-11-06 10:08:27 +05:30
|
|
|
## System Requirements (Local Setup)
|
2025-09-30 09:43:16 +05:30
|
|
|
|
|
|
|
|
### Minimum Requirements
|
|
|
|
|
- **RAM**: 8 GB (4 GB available for Docker)
|
|
|
|
|
- **Storage**: 10 GB free disk space
|
|
|
|
|
- **CPU**: 2 cores (x86_64 or ARM64)
|
2025-10-04 15:05:07 +05:30
|
|
|
- **OS**:
|
|
|
|
|
- macOS 10.15+ (Catalina or newer)
|
2025-09-30 09:43:16 +05:30
|
|
|
- Windows 10/11 with WSL2
|
|
|
|
|
- Linux with kernel 3.10+
|
|
|
|
|
|
|
|
|
|
## Software Requirements
|
|
|
|
|
|
|
|
|
|
To run Dograh AI locally, make sure you have the following installed:
|
|
|
|
|
|
|
|
|
|
- [Docker](https://docs.docker.com/get-docker/) (version 20.10 or later)
|
2025-10-04 15:05:07 +05:30
|
|
|
- [curl](https://curl.se/download.html) - usually preinstalled on macOS/Linux
|
2025-09-30 09:43:16 +05:30
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
<Note>
|
|
|
|
|
Docker Compose is included with Docker Desktop. Make sure Docker is running before you begin.
|
|
|
|
|
</Note>
|
2025-09-30 09:43:16 +05:30
|
|
|
|
|
|
|
|
### Docker Resource Allocation
|
2025-10-04 15:05:07 +05:30
|
|
|
|
2025-09-30 09:43:16 +05:30
|
|
|
For Docker Desktop users, ensure Docker has adequate resources:
|
2025-10-04 15:05:07 +05:30
|
|
|
|
2025-09-30 09:43:16 +05:30
|
|
|
1. Open Docker Desktop settings
|
|
|
|
|
2. Navigate to Resources
|
|
|
|
|
3. Allocate at least:
|
|
|
|
|
- Memory: 4 GB (8 GB recommended)
|
|
|
|
|
- CPUs: 2 (4 recommended)
|
|
|
|
|
- Disk: 10 GB
|
|
|
|
|
|
|
|
|
|
## Required Ports
|
|
|
|
|
|
|
|
|
|
Ensure these ports are available:
|
2025-10-04 15:05:07 +05:30
|
|
|
|
2025-09-30 09:43:16 +05:30
|
|
|
- `3010` - Web UI
|
|
|
|
|
- `8000` - API Server
|
|
|
|
|
- `5432` - PostgreSQL
|
|
|
|
|
- `6379` - Redis
|
|
|
|
|
- `9000` - MinIO (S3-compatible storage)
|
|
|
|
|
- `9001` - MinIO Console
|
|
|
|
|
|
|
|
|
|
## Checking Port Availability
|
|
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
Check if a port is in use (replace 3010 with the port number):
|
|
|
|
|
|
|
|
|
|
<CodeGroup>
|
|
|
|
|
|
|
|
|
|
```bash macOS/Linux
|
2025-09-30 09:43:16 +05:30
|
|
|
lsof -i :3010
|
|
|
|
|
```
|
|
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
```bash Linux (alternative)
|
|
|
|
|
netstat -tulpn | grep 3010
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```bash Windows (PowerShell)
|
|
|
|
|
netstat -ano | findstr :3010
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeGroup>
|
|
|
|
|
|
2025-09-30 09:43:16 +05:30
|
|
|
## Docker Registry Options
|
|
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
Dograh images are available from two registries:
|
2025-09-30 09:43:16 +05:30
|
|
|
|
|
|
|
|
- **GitHub Container Registry (Default)**: `ghcr.io/dograh-hq` - Recommended for most users
|
|
|
|
|
- **Docker Hub**: `dograhai` - Alternative registry
|
|
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
To use a specific registry, set the `REGISTRY` environment variable:
|
2025-09-30 09:43:16 +05:30
|
|
|
|
|
|
|
|
```bash
|
2025-10-04 15:05:07 +05:30
|
|
|
# Using GitHub Container Registry (recommended)
|
2025-11-06 10:08:27 +05:30
|
|
|
REGISTRY=ghcr.io/dograh-hq docker compose up --pull always
|
2025-09-30 09:43:16 +05:30
|
|
|
|
2025-10-04 15:05:07 +05:30
|
|
|
# Using Docker Hub
|
2025-11-06 10:08:27 +05:30
|
|
|
REGISTRY=dograhai docker compose up --pull always
|
2025-10-04 15:05:07 +05:30
|
|
|
```
|