{"product_id":"django-student-management-docker-stack","title":"Student Management System - Django + MySQL Docker Stack with Prometheus, Grafana \u0026 Loki","description":"\u003cp\u003eA complete, self-hosted reference stack: a \u003cstrong\u003eDjango 5.2\u003c\/strong\u003e admin app for classes, students, courses and grades on \u003cstrong\u003eMySQL 8.4\u003c\/strong\u003e, behind \u003cstrong\u003eNginx\u003c\/strong\u003e, monitored with \u003cstrong\u003ePrometheus + Grafana\u003c\/strong\u003e and with centralised logs in \u003cstrong\u003eLoki + Promtail\u003c\/strong\u003e. 11 Docker Compose services in three layers you can bring up one by one.\u003c\/p\u003e\u003ch3\u003eWhat you get\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eDjango admin with CRUD for classes, students, courses and 0-10 grades, search and class filter, and protected deletes\u003c\/li\u003e\n\u003cli\u003eFully English admin interface and Grafana dashboard, US date format, UTC time zone (change both in \u003ccode\u003esettings.py\u003c\/code\u003e)\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003e\/healthz\u003c\/code\u003e endpoint with a database check, and a restyled admin UI\u003c\/li\u003e\n\u003cli\u003eScripts that generate secrets (\u003ccode\u003e.env\u003c\/code\u003e with mode 600, never overwritten)\u003c\/li\u003e\n\u003cli\u003eHardened containers: non-root app, read-only root filesystem, dropped capabilities, internal-only database network, ports bound to localhost, Nginx security headers\u003c\/li\u003e\n\u003cli\u003ePre-provisioned Grafana datasources and an overview dashboard (containers, Nginx, MySQL)\u003c\/li\u003e\n\u003cli\u003eLog pipeline with an end-to-end check script\u003c\/li\u003e\n\u003cli\u003eDemo data command and automated tests\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eGood to know\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eNeeds a Linux host with Docker Engine and Compose v2, and about 4 GB RAM (8 GB recommended).\u003c\/li\u003e\n\u003cli\u003eNo HTTPS out of the box. Add TLS before any public deployment.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eDownload: one .zip with the source code only (Python, templates, CSS\/JS, Docker Compose, Dockerfile, Nginx, Prometheus, Grafana, Loki and Promtail configuration, scripts and tests). No documentation files are included.\u003c\/p\u003e","brand":"Snippet Crate","offers":[{"title":"Personal","offer_id":52033056637174,"sku":"SPF-DJSMS-PER","price":29.0,"currency_code":"USD","in_stock":true},{"title":"Commercial","offer_id":52033056669942,"sku":"SPF-DJSMS-COM","price":79.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/7776\/7158\/files\/django-student-management-docker-stack-square-2048x2048.png?v=1792984583","url":"https:\/\/snippetcrate.com\/products\/django-student-management-docker-stack","provider":"Snippet Crate","version":"1.0","type":"link"}