6 Commits

Author SHA1 Message Date
Aiirondev_dev fe578d490d feat: Add health check and diagnostics to launch_dev.sh for improved reliability
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 20:37:35 +02:00
Aiirondev_dev 7d84999798 feat: Remove unnecessary copy and permission commands from Dockerfile 2026-04-27 20:06:57 +02:00
Aiirondev_dev 7e7bb707a1 Enhance development environment with automatic Dev-Hosts synchronization and update provisioning script to clone repositories directly 2026-04-15 10:04:01 +02:00
Aiirondev_dev 83abe0aab9 Refactor Docker setup and enhance MongoDB connection handling
- 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.
2026-04-14 23:04:51 +02:00
Aiirondev_dev c4a483a57c Add admin instance management and system tools
- Implemented sync_dev_hosts.sh for managing local hosts entries for development.
- Created admin_instances.html for managing school instances, including creation and listing.
- Developed admin_system.html for core services management, including restart and backup operations.
- Added my_instance.html for users to view and manage their assigned instances.
- Introduced provision_instance.sh for provisioning new instances with Docker, including Nginx configuration and SSL certificate handling.
2026-04-14 22:12:14 +02:00
Aiirondev_dev 138dac73f3 feat: Implement Docker setup with MongoDB and website service, add requirements and build script 2026-03-26 23:46:53 +01:00