feat: dockerize app and unify query management UI

This commit is contained in:
2026-03-19 10:25:25 +08:00
parent 3c0e5ed49c
commit f12b3d5ecd
27 changed files with 39014 additions and 3042 deletions
+25
View File
@@ -10,6 +10,31 @@ Collecting device names, models and internal codenames.
[Issue submission](https://github.com/KHwang9883/MobileModels/issues) and [Pull Requests](https://github.com/KHwang9883/MobileModels/pulls) are welcomed if you find mistakes.
## Web UI
The project ships with device query and data management pages and now runs through `docker compose`:
```bash
docker compose up --build -d
```
Open:
- `http://127.0.0.1:8123/web/device_query.html`
- `http://127.0.0.1:8123/web/brand_management.html`
MySQL is started together with the stack:
- host: `127.0.0.1`
- port: `3306`
- database: `mobilemodels`
- reader user: `mobilemodels_reader`
If you want custom MySQL credentials, copy `.env.example` to `.env` before startup.
Raw source data, rebuilt indexes, and MySQL seed files are persisted in Docker volumes instead of being written back to the local workspace at runtime.
More details: [web/README.md](web/README.md)
Unlisted brands usually not include international models.
| Name | Brand | Range |