add hf_endpoint as env variable (#353)

### What problem does this PR solve?


Issue link:#350

### Type of change

- [x] Refactoring
This commit is contained in:
KevinHuSh 2024-04-15 09:11:21 +08:00 committed by GitHub
parent 4608cccd05
commit 84d7a006dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
environment:
- TZ=${TIMEZONE}
- HF_ENDPOINT=https://hf-mirror.co
networks:
- ragflow
restart: always

View File

@ -25,6 +25,7 @@ services:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
environment:
- TZ=${TIMEZONE}
- HF_ENDPOINT=https://huggingface.co
networks:
- ragflow
restart: always