Supporting services for NeMo Agent Toolkit examples
March 31, 2026 ยท View on GitHub
This directory contains configurations for running services used by the examples in this repo.
Table of Contents
Key Features
- Docker Compose Services: Provides pre-configured Docker Compose files for essential services used across NeMo Agent Toolkit examples.
- Example Support Infrastructure: Simplifies setup of supporting services required by various examples in the repository.
- Milvus: Includes
docker-compose.milvus.ymlfor running a Milvus server for RAG examples. - MinIO: Includes
docker-compose.minio.ymlfor running a MinIO server for object store examples. - MySQL: Includes
docker-compose.mysql.ymlfor running a MySQL server for object store examples. - Phoenix Observability: Includes
docker-compose.phoenix.ymlfor running Phoenix observability server to monitor and debug workflows. - Redis Service: Includes
docker-compose.redis.ymlfor running Redis memory backend with Redis Insight for memory-based examples. - MemMachine: Includes
docker-compose.memmachine.ymlfor running MemMachine with PostgreSQL and Neo4j for context memory examples.
Available Services
milvus:docker-compose.milvus.ymlminio:docker-compose.minio.ymlmysql:docker-compose.mysql.ymlphoenix:docker-compose.phoenix.ymlredis:docker-compose.redis.ymlmemmachine:docker-compose.memmachine.yml
Installation and Setup
Prerequisites
Ensure that Docker is installed and the Docker service is running before proceeding.
- Install Docker: Follow the official installation guide for your platform: Docker Installation Guide
- Start Docker Service:
- Linux: Run
sudo systemctl start docker(ensure your user has permission to run Docker). - Mac & Windows: Docker Desktop should be running in the background.
- Linux: Run
- Verify Docker Installation: Run the following command to verify that Docker is installed and running correctly:
docker info
Running Services
To start Milvus (for RAG examples):
docker compose -f examples/deploy/docker-compose.milvus.yml up -d
To start MinIO (for object store examples):
docker compose -f examples/deploy/docker-compose.minio.yml up -d
To start MySQL (for object store examples):
docker compose -f examples/deploy/docker-compose.mysql.yml up -d
To start Phoenix (for observability examples):
docker compose -f examples/deploy/docker-compose.phoenix.yml up -d
To start Redis (required for memory and object store examples):
docker compose -f examples/deploy/docker-compose.redis.yml up -d
To start MemMachine (for context memory examples):
Before starting: edit
examples/memory/memmachine/configuration.ymland replace the<OPENAI_API_KEY>(or AWS) placeholders with your actual API keys.
docker compose -f examples/deploy/docker-compose.memmachine.yml up -d
Stopping Services
To stop the Milvus service:
docker compose -f examples/deploy/docker-compose.milvus.yml down
To stop the MinIO service:
docker compose -f examples/deploy/docker-compose.minio.yml down
To stop the MySQL service:
docker compose -f examples/deploy/docker-compose.mysql.yml down
To stop the Phoenix service:
docker compose -f examples/deploy/docker-compose.phoenix.yml down
To stop the Redis service:
docker compose -f examples/deploy/docker-compose.redis.yml down
To stop the MemMachine service:
docker compose -f examples/deploy/docker-compose.memmachine.yml down