π€ AI Suite - All-in-One Self-Hosted AI Platform #
A comprehensive, unified Docker Compose setup for self-hosting the best open-source AI tools in one place. Includes a beautiful web launcher with real-time health monitoring.
π Quick Start #
curl -fsSL https://raw.githubusercontent.com/yourusername/ai-suite/main/install.sh | bash
Or manually:
git clone https://github.com/yourusername/ai-suite.git
cd ai-suite
docker compose up -d
Then visit http://localhost to access the web launcher! π
π οΈ Included Services #
| Service | Icon | URL | Description |
|---|---|---|---|
| LibreChat | π¬ | /librechat |
Open-source AI chat platform with multi-provider LLM support, voice capabilities (S2T/TTS), web search integration, and agent skills. Unified interface for all your AI conversations. |
| Ollama | π¦ | /ollama |
Local LLM runner supporting macOS, Windows, and Linux. Run open-source AI models on your hardware without cloud dependency. Full privacy and offline capability. |
| SearXNG | π | /searxng |
Privacy-respecting meta-search engine aggregating results from Google, DuckDuckGo, Bing, Wikipedia, GitHub, and 100+ other sources. No tracking, no ads. |
| YaCY | πΈοΈ | /yacy |
Decentralized peer-to-peer search engine running on its own protocol. Completely offline-capable with distributed indexing and privacy-first design. |
| ComfyUI | π¨ | /comfyui |
Node-based GUI for Stable Diffusion and AI art generation. Visual workflow builder with full customization and local execution. |
| Baia Agent | π€ | /baia |
Minimal LangGraph-based AI agent with terminal access, long-term memory, and secure secret management capabilities. |
| Opencode | π» | /opencode |
Open-source AI coding agent built in Go with TUI. Provides remote code execution for LLMs through filesystem access, file reading, API calls, and command execution. Supports 75+ models. |
π Access Points #
- Web Launcher: http://localhost (links to all services)
- LibreChat: http://localhost:3080
- Ollama API: http://localhost:11434
- SearXNG: http://localhost:8080
- YaCY: http://localhost:8090
- ComfyUI: http://localhost:8188
- Baia Agent: http://localhost:3000
- Opencode: http://localhost:3050
π¨ Features #
- β¨ Single Command Install - One curl command deploys everything
- π― Unified Interface - Beautiful web launcher with service status monitoring
- π Real-time Health Checks - Automatic service status updates every 5 seconds
- π Self-Hosted & Private - All data stays on your server
- πΎ Persistent Storage - Docker volumes for all service data
- π³ Docker Native - Easy deployment and management
- π Auto-Recovery - Containers restart automatically on failure
π Project Structure #
ai-suite/
βββ docker-compose.yaml # Main orchestration file
βββ install.sh # One-command installer
βββ launcher/
β βββ index.html # Web launcher UI
βββ nginx.conf.d/
β βββ proxy.conf # Nginx reverse proxy config
βββ README.md # This file
π§ Configuration #
Environment Variables #
Create a .env file in the root directory:
SECRET=your-secret-key-here
TZ=Etc/UTC
Port Customization #
Edit docker-compose.yaml to change exposed ports:
ports:
- "8080:80" # Change launcher port from 80 to 8080
Ollama Models #
Pull models into Ollama:
docker exec -it ollama ollama pull llama3.2
docker exec -it ollama ollama pull mistral
docker exec -it ollama ollama list
π¦ Management Commands #
# Start all services
docker compose up -d
# Stop all services
docker compose down
# View logs
docker compose logs -f
# View logs for specific service
docker compose logs -f librechat
# Restart a service
docker compose restart comfyui
# Update to latest versions
docker compose pull
docker compose up -d
# Check service status
docker compose ps
π‘οΈ Security Notes #
- Change the default SECRET in LibreChat configuration to a strong random value
- Use HTTPS in production with a reverse proxy (nginx, traefik, caddy)
- Add authentication layer for public-facing deployments
- Keep containers updated regularly for security patches
- Review firewall rules to expose only necessary ports
π Production Deployment #
For production use, consider:
- β Adding HTTPS via Let's Encrypt (use traefik or nginx-proxy-manager)
- β Setting up regular backups for Docker volumes
- β Adding resource limits in docker-compose.yaml
- β Configuring proper network isolation
- β Implementing authentication at reverse proxy level
Example with Traefik labels:
deploy:
resources:
limits:
cpus: '2'
memory: 4G
π Resource Requirements #
Minimum:
- CPU: 2 cores
- RAM: 8 GB
- Storage: 20 GB
Recommended:
- CPU: 4+ cores
- RAM: 16 GB+
- Storage: 50 GB+ (depends on models)
- GPU: Optional for ComfyUI acceleration
π Troubleshooting #
Services not starting #
docker compose logs
Clear all data and restart #
docker compose down -v
docker compose up -d
Access Ollama CLI #
docker exec -it ollama sh
ollama run llama3.2
Reset LibreChat database #
docker compose restart librechat-db librechat
π€ Contributing #
Contributions welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
π License #
This project is licensed under the MIT License - see the LICENSE file for details.
Note: Individual services may have their own licenses. Please review each service's licensing terms.
π Links #
- Website: https://ai-suite.example.com
- Documentation: /docs
- Issues: https://github.com/yourusername/ai-suite/issues
- Discussions: https://github.com/yourusername/ai-suite/discussions
β Support #
If you find AI Suite helpful, please consider:
- β Starring this repository
- π’ Sharing with your community
- π¬ Contributing improvements
- π Reporting issues
Made with β€οΈ for the self-hosted AI community
Self-hosting AI shouldn't be complicated. Everything you need, one compose file.