-
CPU: Minimum 4 cores, recommended 8 cores
-
Memory: > 16GB
-
GPU (Single Card): Nvidia RTX 3090 or higher (minimum 32GB VRAM required)
-
Storage: > 512GB
-
Network: 5-10M
-
Operating System: Supports Windows and Linux
Ensure your system supports Docker and has NVIDIA drivers installed to support GPU.
-
Update package index:
sudo apt-get update
-
Install required packages:
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
-
Add Docker official GPG key:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-
Set up Docker stable repository:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-
Update package index again:
sudo apt-get update
-
Install Docker CE:
sudo apt-get install docker-ce
-
Install NVIDIA Container Toolkit:
sudo curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - distribution=$(. /etc/os-release;echo $ID$VERSION_ID) sudo curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list sudo apt-get update sudo apt-get install -y nvidia-docker2 sudo systemctl restart docker
-
Start and enable Docker service:
sudo systemctl start docker sudo systemctl enable docker
-
Verify installation:
docker --version
- Windows 10/11 Pro, Enterprise, or Education (64-bit)
- Hyper-V and container features enabled
- NVIDIA drivers installed
-
Download Docker Desktop for Windows:
- Visit Docker Desktop official website
- Download Windows version
-
Install Docker Desktop:
- Run the downloaded installer
- Follow the installation wizard to complete installation
- Restart computer
-
Configure Docker Desktop:
- Start Docker Desktop
- Enable WSL 2 backend in settings (recommended)
- Configure resource allocation (recommend at least 8GB memory)
-
Install NVIDIA Container Toolkit:
- Download and install NVIDIA Container Toolkit for Windows
- Configure Docker to use NVIDIA runtime
-
Verify installation:
docker --version
- macOS 10.15 or higher
- Homebrew installed (recommended)
-
Install using Homebrew (recommended):
brew install --cask docker
-
Or download manually:
- Visit Docker Desktop official website
- Download macOS version
- Drag to Applications folder
-
Start Docker Desktop:
- Launch Docker Desktop from Applications
- Complete initial setup
-
Configure resource allocation:
- Configure memory and CPU allocation in Docker Desktop settings
- Recommend at least 8GB memory allocation
-
Verify installation:
docker --version
Note: Docker on macOS does not support GPU acceleration, only CPU inference is supported.
- Ensure NVIDIA drivers and CUDA are installed
- Recommend using Ubuntu 20.04 or higher
- Ensure Docker service is started and set to auto-start
- Requires Windows 10/11 Pro or higher
- Ensure Hyper-V and WSL 2 are enabled
- Recommend using WSL 2 backend for better performance
- Ensure Docker Desktop has sufficient resource allocation
- Supports macOS 10.15 or higher
- Does not support GPU acceleration, only CPU inference
- Recommend using Homebrew for package management
- Ensure Docker Desktop has sufficient resource allocation
-
Download latest version:
sudo curl -L "https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
-
Add executable permissions:
sudo chmod +x /usr/local/bin/docker-compose
-
Verify installation:
docker-compose --version
Docker Desktop for Windows already includes Docker Compose, no separate installation needed.
Verify installation:
docker-compose --version
Docker Desktop for macOS already includes Docker Compose, no separate installation needed.
Verify installation:
docker-compose --version
-
Update package list:
sudo apt-get update
-
Install Git:
sudo apt-get install git
-
Verify installation:
git --version
-
Download Git for Windows:
- Visit Git official website
- Download Windows version
-
Install Git:
- Run the downloaded installer
- Follow the installation wizard to complete installation
- Recommend using default settings
-
Verify installation:
git --version
-
Install using Homebrew (recommended):
brew install git
-
Or use Xcode Command Line Tools:
xcode-select --install
-
Verify installation:
git --version
Linux/macOS:
git clone https://github.com/HyperdustLab/moss-inference-engine
cd moss-inference-engine
Windows:
git clone https://github.com/HyperdustLab/moss-inference-engine
cd moss-inference-engine
Or using PowerShell:
git clone https://github.com/HyperdustLab/moss-inference-engine
cd moss-inference-engine
- Description: Ethereum wallet address for receiving earnings
- Format: 0x-prefixed 42-character Ethereum address
- Example:
WALLET_ADDRESS=0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6
- Description: Public IP address, obtained from easytier logs
- Obtainment Steps:
- Start easytier service:
docker-compose up -d easytier
- View logs:
docker-compose logs easytier
- Search for
dhcp ip changed
information - Extract IP address (e.g.:
43.159.42.3
)
- Start easytier service:
- Example:
PUBLIC_IP=43.159.42.3
- Description: Node ID, assigned by the platform
- Obtainment Method: Platform staff will inform you of your node ID
- Example:
NODE=your_node_id
The .env
file in the project root directory contains the following configuration:
# Required configuration items
WALLET_ADDRESS=0xYourEthereumWalletAddress # Your Ethereum wallet address
PUBLIC_IP=43.159.42.3 # Obtained from easytier logs
NODE=your_node_id # Platform-assigned node ID
The docker-compose.yaml
file is already configured to use environment variables:
services:
nacos:
image: hyperagi/nacos-client:last
environment:
- PUBLIC_IP=${PUBLIC_IP}
- NODE=${NODE}
- PORT=8881
- WALLET_ADDRESS=${WALLET_ADDRESS}
- SERVICE_NAME=cogito:32b
restart: always
-
Edit .env file:
Linux/macOS:
nano .env # or use vim vim .env
Windows (PowerShell):
notepad .env # or use VS Code code .env
Windows (CMD):
notepad .env
-
Configure environment variables:
- Set
WALLET_ADDRESS
to your Ethereum wallet address - Start easytier to obtain
PUBLIC_IP
- Set
NODE
to platform-assigned node ID
- Set
-
Save and start services:
Linux/macOS:
docker-compose up -d
Windows:
docker-compose up -d
Check if configuration is correct:
Linux/macOS:
# View nacos service logs
docker-compose logs nacos
# Check service status
docker-compose ps
Windows:
# View nacos service logs
docker-compose logs nacos
# Check service status
docker-compose ps
-
Incorrect wallet address format
- Ensure it starts with
0x
- Ensure it's 42 characters long
- Ensure it's a valid Ethereum address
- Ensure it starts with
-
Incorrect PUBLIC_IP configuration
- Ensure it's correctly obtained from easytier logs
- Don't use local IP addresses
- Don't use public IP addresses
-
Incorrect NODE configuration
- Ensure you use the platform-assigned node ID
- Don't set or guess on your own
-
.env
file configured correctly - WALLET_ADDRESS set to valid Ethereum address
- PUBLIC_IP correctly obtained from easytier logs
- NODE set to platform-assigned node ID
- Firewall disabled or port exceptions configured
- All services started normally
- No error messages in logs
-
Environment variable priority:
- Docker Compose automatically loads the
.env
file in the project root directory - If environment variables are set in the system, they will override values in the
.env
file
- Docker Compose automatically loads the
-
.env file security:
- The
.env
file contains sensitive information, ensure it's not committed to version control
- The
If you encounter issues during configuration:
- View service logs for detailed error information
- Check network connection and firewall settings
- Confirm
.env
file configuration is correct - Verify environment variables are loaded correctly
- Contact technical support team