Inventory Management System starter kit: Django + MySQL Docker stack with Prometheus, Grafana and Loki

Inventory Management System - Django + MySQL Docker Stack with Prometheus, Grafana & Loki

Personal
$29.00
Skip to product information
Inventory Management System starter kit: Django + MySQL Docker stack with Prometheus, Grafana and Loki

Inventory Management System - Django + MySQL Docker Stack with Prometheus, Grafana & Loki

$29.00
License

Pick Personal or Commercial. Your order confirmation names the license you bought.

Specs

Version
1.0.0
Last updated
Stack
  • Django 5.2
  • Python 3.12
  • MySQL 8.4
  • Nginx
  • Docker Compose
  • Prometheus 3.13
  • Grafana 12.4
  • Loki 3.7
  • Promtail 3.6
Includes
  • 11-service Docker Compose stack
  • Django admin app (English UI)
  • Stock ledger with negative-stock protection
  • Grafana dashboard
  • Loki log pipeline
  • Setup and check scripts
  • Automated tests
File format
.zip: source code only
File size
60 KB
Compatibility
  • Linux host with Docker Engine and Compose v2
  • About 4 GB RAM (8 GB recommended)

A complete, self-hosted inventory management stack: a Django 5.2 admin app for products, categories, suppliers, warehouses and stock movements on MySQL 8.4, behind Nginx, monitored with Prometheus + Grafana and with centralised logs in Loki + Promtail. 11 Docker Compose services in three layers you can bring up one by one.

What you get

  • Django admin with CRUD for products (SKU, price, reorder level), categories, suppliers, warehouses and stock movements, with search and filters
  • Stock on hand is calculated from stock-in and stock-out movements per warehouse, so there is no stock number to keep in sync by hand
  • Stock out can never exceed what the warehouse holds; edits and deletes that would leave negative stock are blocked
  • Stock status filter (out of stock, low stock, in stock) and an overview dashboard with inventory value, units on hand and stock by warehouse
  • /healthz endpoint with a database check, and a restyled, fully English admin UI
  • Scripts that generate secrets (.env with mode 600, never overwritten)
  • Hardened containers: non-root app, read-only root filesystem, dropped capabilities, internal-only database network, ports bound to localhost, Nginx security headers
  • Pre-provisioned Grafana datasources and an overview dashboard (containers, Nginx, MySQL)
  • Log pipeline with an end-to-end check script
  • Demo data command and automated tests

Good to know

  • Needs a Linux host with Docker Engine and Compose v2, and about 4 GB RAM (8 GB recommended).
  • No HTTPS out of the box. Add TLS before any public deployment.
  • Language and time zone are set in settings.py (English, UTC by default).

Download: 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.

You may also like