fix: configure HF mirror for Immich ML model downloads
This commit is contained in:
@@ -88,11 +88,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MACHINE_LEARNING_CACHE_FOLDER=/cache
|
- MACHINE_LEARNING_CACHE_FOLDER=/cache
|
||||||
- MACHINE_LEARNING_REQUEST_TIMEOUT=600
|
- MACHINE_LEARNING_REQUEST_TIMEOUT=600
|
||||||
- MACHINE_LEARNING_MODEL_TTL=300
|
- HF_ENDPOINT=https://hf-mirror.com
|
||||||
- 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user