Add possibility to upload images for inventory units

This commit is contained in:
2026-07-29 21:12:28 +03:00
parent 9b717e0f09
commit 709c645af2
5 changed files with 165 additions and 15 deletions
+4
View File
@@ -15,11 +15,15 @@ Open http://localhost:5000. The SQLite database is stored in the persistent `inv
- Search by name, brand, model, serial number, asset tag, or location
- Filter by item type and status
- Add, edit, and delete inventory records
- Upload and display up to five device pictures per item (JPG, PNG, GIF, or WebP; up to 10 MB per request)
- Add more pictures or delete individual pictures while editing an item
- Computer fields: CPU, RAM, GPU, and disk/storage
- Media field: format
- CSV export of the currently visible inventory
- Responsive web UI for desktop and mobile
Uploaded pictures are stored in `/data/uploads` alongside the SQLite database, so they persist in the `inventory_data` Docker volume. Existing databases are migrated automatically when the application starts.
## Local development
```bash