fix: use HuggingFace mirror for Immich ML model downloads
Run Tests / Backend Tests (push) Failing after 6m13s
Run Tests / Frontend Tests (push) Failing after 10s
Run Tests / Test Summary (push) Failing after 35s

- Add HF_ENDPOINT=https://hf-mirror.com for China network
- Remove proxy config (proxy not accessible from NAS)
- NAS has SSL/network issues reaching external HTTPS sites directly

This should allow models to download via China mirror instead of timing out.
This commit is contained in:
Gan, Jimmy
2026-04-06 01:03:15 +08:00
parent 9560de6314
commit a96cc76072
+3
View File
@@ -90,6 +90,9 @@ services:
- MACHINE_LEARNING_REQUEST_TIMEOUT=600 - MACHINE_LEARNING_REQUEST_TIMEOUT=600
- MACHINE_LEARNING_MODEL_TTL=300 - MACHINE_LEARNING_MODEL_TTL=300
- MACHINE_LEARNING_MODEL_TTL_POLL_S=10 - MACHINE_LEARNING_MODEL_TTL_POLL_S=10
- HTTP_PROXY=http://192.168.1.173:7890
- HTTPS_PROXY=http://192.168.1.173:7890
- NO_PROXY=localhost,127.0.0.1,immich-server,immich-db,immich-redis
deploy: deploy:
resources: resources:
limits: limits: