# Installation Guide This guide explains how to install and run the LangChain Agent application using Docker. ## Prerequisites - Docker (version 20.10 or later) - Docker Compose (version 2.0 or later, or use `docker compose` command) ## Quick Start 1. **Run the installation script:** ```bash ./scripts/shell_scripts/install.sh ``` This script will: - Check for required tools (Docker, docker-compose) - Create a `.env` file with default configuration - Build Docker images (or use pre-loaded images) - Start all services (PostgreSQL, Backend API, Nginx) 2. **Access the application:** - Frontend: http://localhost (or http://localhost:80) - Backend API: http://localhost:8500 - Database: localhost:5432 ## Installation for China / Offline Use If Docker Hub is slow or inaccessible in your region: ### Option 1: Use Chinese Docker Mirrors Configure Docker to use Chinese registry mirrors: ```bash sudo tee /etc/docker/daemon.json <