KevinHuSh
commited on
Commit
·
d2e66f2
1
Parent(s):
e0e6518
add hf_endpoint as env variable (#353)
Browse files### What problem does this PR solve?
Issue link:#350
### Type of change
- [x] Refactoring
docker/docker-compose-CN.yml
CHANGED
|
@@ -26,6 +26,7 @@ services:
|
|
| 26 |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 27 |
environment:
|
| 28 |
- TZ=${TIMEZONE}
|
|
|
|
| 29 |
networks:
|
| 30 |
- ragflow
|
| 31 |
restart: always
|
|
|
|
| 26 |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 27 |
environment:
|
| 28 |
- TZ=${TIMEZONE}
|
| 29 |
+
- HF_ENDPOINT=https://hf-mirror.co
|
| 30 |
networks:
|
| 31 |
- ragflow
|
| 32 |
restart: always
|
docker/docker-compose.yml
CHANGED
|
@@ -25,6 +25,7 @@ services:
|
|
| 25 |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 26 |
environment:
|
| 27 |
- TZ=${TIMEZONE}
|
|
|
|
| 28 |
networks:
|
| 29 |
- ragflow
|
| 30 |
restart: always
|
|
|
|
| 25 |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 26 |
environment:
|
| 27 |
- TZ=${TIMEZONE}
|
| 28 |
+
- HF_ENDPOINT=https://huggingface.co
|
| 29 |
networks:
|
| 30 |
- ragflow
|
| 31 |
restart: always
|