update
This commit is contained in:
@@ -134,3 +134,43 @@ Root:
|
||||
- [ ] API rate limiting
|
||||
- [ ] Caching layer (Redis)
|
||||
- [ ] Message queue for crawler (Celery)
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Recent Updates (November 2025)
|
||||
|
||||
### Security Improvements
|
||||
- **MongoDB Internal-Only**: Removed port exposure, only accessible via Docker network
|
||||
- **Ollama Internal-Only**: Removed port exposure, only accessible via Docker network
|
||||
- **Reduced Attack Surface**: Only Backend API (port 5001) exposed to host
|
||||
- **Network Isolation**: All services communicate via internal Docker network
|
||||
|
||||
### Ollama Integration
|
||||
- **Docker Compose Integration**: Ollama service runs alongside other services
|
||||
- **Automatic Model Download**: phi3:latest model downloaded on first startup
|
||||
- **GPU Support**: NVIDIA GPU acceleration with automatic detection
|
||||
- **Helper Scripts**: `start-with-gpu.sh`, `check-gpu.sh`, `configure-ollama.sh`
|
||||
- **Performance**: 5-10x faster with GPU acceleration
|
||||
|
||||
### API Enhancements
|
||||
- **Send Newsletter Endpoint**: `/api/admin/send-newsletter` to send to all active subscribers
|
||||
- **Subscriber Status Fix**: Fixed stats endpoint to correctly count active subscribers
|
||||
- **Better Error Handling**: Improved error messages and validation
|
||||
|
||||
### Documentation
|
||||
- **Consolidated Documentation**: Moved all docs to `docs/` directory
|
||||
- **Security Guide**: Comprehensive security documentation
|
||||
- **GPU Setup Guide**: Detailed GPU acceleration setup
|
||||
- **MongoDB Connection Guide**: Connection configuration explained
|
||||
- **Subscriber Status Guide**: How subscriber status system works
|
||||
|
||||
### Configuration
|
||||
- **MongoDB URI**: Updated to use Docker service name (`mongodb` instead of `localhost`)
|
||||
- **Ollama URL**: Configured for internal Docker network (`http://ollama:11434`)
|
||||
- **Single .env File**: All configuration in `backend/.env`
|
||||
|
||||
### Testing
|
||||
- **Connectivity Tests**: `test-mongodb-connectivity.sh`
|
||||
- **Ollama Tests**: `test-ollama-setup.sh`
|
||||
- **Newsletter API Tests**: `test-newsletter-api.sh`
|
||||
|
||||
Reference in New Issue
Block a user