Add configurable upstream sync proxy and schedule settings

This commit is contained in:
2026-03-19 18:05:22 +08:00
parent 1b420cd492
commit a64725d60c
8 changed files with 480 additions and 5 deletions
+9
View File
@@ -14,6 +14,12 @@ If you want a local test MySQL together with the app:
docker compose -f docker-compose.yml -f docker-compose.test.yml up --build -d
```
If you need custom MySQL settings, start by copying the env template:
```bash
cp .env.example .env
```
Entry pages:
- `http://127.0.0.1:8123/web/device_query.html`
@@ -37,7 +43,10 @@ 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
- 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`
- GitHub acceleration by URL prefix is supported through `GITHUB_PROXY_PREFIX` or the Data Management page
More details: