fix: 修复MINIO_VISIT_HOST修改不生效问题 issue #156

This commit is contained in:
zstar 2025-06-09 13:46:13 +08:00
parent 9927bb7e7d
commit b30ddb43f7
3 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if is_running_in_docker():
MYSQL_HOST = "mysql"
MYSQL_PORT = 3306
MINIO_HOST = "minio"
MINIO_VISIT_HOST = "localhost"
MINIO_VISIT_HOST = os.getenv("MINIO_VISIT_HOST", "localhost")
MINIO_PORT = 9000
ES_HOST = "es01"
ES_PORT = 9200

View File

@ -17,6 +17,7 @@ services:
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ../api/db/services/database.py:/ragflow/api/db/services/database.py
env_file: .env
environment:
- TZ=${TIMEZONE}

View File

@ -17,6 +17,7 @@ services:
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ../api/db/services/database.py:/ragflow/api/db/services/database.py
env_file: .env
environment:
- TZ=${TIMEZONE}