Video coming soon…
🏢 Setup InvenTree — Open-Source Inventory Management
Deploy InvenTree on Ubuntu — an open-source parts and inventory management system with PostgreSQL and Redis, built for tracking stock, bills of materials, suppliers, and purchase orders.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/erp/inventree/inventree-ubuntu.sh
chmod +x inventree-ubuntu.sh
sudo bash inventree-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/erp/inventree/inventree-ubuntu.sh
2 Make it Executable
chmod +x inventree-ubuntu.sh
3 Run the Installer
The script installs Docker if needed, starts PostgreSQL 15 and Redis 7 containers plus a background worker, then launches InvenTree on port 8152. The admin username is admin and a random password is generated and printed at the end.
sudo bash inventree-ubuntu.sh
4 Log In to the Web UI
Open your browser and navigate to InvenTree, then log in with admin and the generated password:
http://<your-server-ip>:8152
Ports Used
| Port | Purpose |
|---|---|
| 8152 | Web UI + REST API (host → container 8000) |
| internal | PostgreSQL 15 + Redis 7 + worker (not published) |