83abe0aab9
- Updated Dockerfile to use Gunicorn for serving the Flask application instead of the default Python command. - Modified docker-compose.yml to set memory limits and reservations for MongoDB and the web service. - Enhanced main.py with improved MongoDB connection management using a thread-safe singleton pattern and added environment variable configurations for connection pooling. - Introduced new utility functions for system monitoring, including uptime, load averages, and disk usage. - Added backup and restore functionality for instances, including routes for exporting and importing backups. - Removed the live monitor section from admin_instances.html and updated admin_system.html to include a comprehensive server management dashboard with KPIs and usage charts. - Added a new gunicorn configuration file for better performance tuning. - Updated requirements.txt to include Gunicorn as a dependency.
6 lines
101 B
Plaintext
6 lines
101 B
Plaintext
Flask>=3.0,<4.0
|
|
Flask-JWT-Extended>=4.6,<5.0
|
|
bleach>=6.1,<7.0
|
|
pymongo>=4.8,<5.0
|
|
gunicorn>=22.0,<23.0
|