feat: dockerize app and unify query management UI
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user