fix: use HuggingFace mirror for Immich ML model downloads
- 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:
@@ -90,6 +90,9 @@ services:
|
||||
- MACHINE_LEARNING_REQUEST_TIMEOUT=600
|
||||
- MACHINE_LEARNING_MODEL_TTL=300
|
||||
- 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:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user