Video coming soon…
🛠️ Setup Part-DB — Electronic Parts Inventory
Deploy Part-DB on Ubuntu with Docker — a self-hosted inventory for electronic components that tracks stock, locations, datasheets, and suppliers, using SQLite, on port 8229.
⚠️ 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/part-db/part-db-ubuntu.sh
chmod +x part-db-ubuntu.sh
sudo bash part-db-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/erp/part-db/part-db-ubuntu.sh
2 Make it Executable
chmod +x part-db-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts jbtronics/part-db1 on port 8229 with DATABASE_URL pointing at a built-in SQLite file, and volumes for the database, uploads, and media.
sudo bash part-db-ubuntu.sh
4 Log In and Change the Password
Sign in with the default admin / admin — Part-DB forces you to set a new password on first login:
http://<your-server-ip>:8229
Ports Used
| Port | Purpose |
|---|---|
| 8229 | Web UI (host → container 80) — default admin / admin, forced change |
| DATABASE_URL | Built-in SQLite — no separate MySQL/MariaDB container |
| ./db | SQLite catalogue (also ./uploads, ./media) |