Skip to content

Installation & Deployment

🎯 Prerequisites

ResourceMinimum
CPU2 cores
RAM6 GiB
Architecturex86_64 / ARM64
SoftwareDocker & Docker Compose installed

🚀 Quick Start

1. Download and Setup

bash
git clone https://github.com/ModelEngine-Group/nexent.git
cd nexent/docker
cp .env.example .env # Configure environment variables

💡 Tip: If there are no special requirements, you can directly use .env.example for deployment without making any changes. If you need to configure voice models (STT/TTS), you will need to set the relevant parameters in .env. We will work on making this configuration available through the frontend soon—stay tuned.

2. Deployment Options

Run the following command to start deployment:

bash
bash deploy.sh

After executing this command, the system will provide two different versions for you to choose from:

Version Selection:

  • Speed version (Lightweight & Fast Deployment, Default): Quick startup of core features, suitable for individual users and small teams
  • Full version (Complete Feature Edition): Provides enterprise-level tenant management and resource isolation features, but takes longer to install, suitable for enterprise users

Deployment Modes:

  • Development mode (default): Exposes all service ports for debugging
  • Infrastructure mode: Only starts infrastructure services
  • Production mode: Only exposes port 3000 for security

Optional Components:

  • Terminal Tool: Enables openssh-server for AI agent shell command execution
  • Regional optimization: Mainland China users can use optimized image sources

3. Access Your Installation

When deployment completes successfully:

  1. Open http://localhost:3000 in your browser
  2. Refer to the User Guide to develop agents

🏗️ Service Architecture

Nexent uses a microservices architecture with the following core services:

Core Services:

  • nexent: Backend service (port 5010)
  • nexent-web: Frontend interface (port 3000)
  • nexent-data-process: Data processing service (port 5012)

Infrastructure Services:

  • nexent-postgresql: Database (port 5434)
  • nexent-elasticsearch: Search engine (port 9210)
  • nexent-minio: Object storage (port 9010, console 9011)
  • redis: Cache service (port 6379)

Optional Services:

  • nexent-openssh-server: SSH server for Terminal tool (port 2222)

🔌 Port Mapping

ServiceInternal PortExternal PortDescription
Web Interface30003000Main application access
Backend API50105010Backend service
Data Processing50125012Data processing API
PostgreSQL54325434Database connection
Elasticsearch92009210Search engine API
MinIO API90009010Object storage API
MinIO Console90019011Storage management UI
Redis63796379Cache service
SSH Server222222Terminal tool access

For complete port mapping details, see our Dev Container Guide.

💡 Need Help

🔧 Build from Source

Want to build from source or add new features? Check the Docker Build Guide for step-by-step instructions.

For detailed setup instructions and customization options, see our Development Guide.