Mount dist outputs to the host

This commit is contained in:
2026-03-20 15:11:01 +08:00
parent d3d1a8650e
commit 0cb08642aa
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ Notes:
- `docker-compose.yml`, `Dockerfile`, and `tools/` live in the project root
- the main compose file targets remote MySQL usage
- `docker-compose.test.yml` provides a local MySQL only for testing
- generated `dist/device_index.json` and `dist/mobilemodels_mysql_seed.sql` are bind-mounted back to the host project's `dist/` directory
- Compose reads shell env vars and project-root `.env` first, then falls back to defaults in `docker-compose.yml`
- upstream git sync, index rebuild, and MySQL refresh run inside containers
- the project includes its own daily sync scheduler; you can configure the time in the Data Management page or override it via `.env`