fix: 修复MINIO_VISIT_HOST修改不生效问题 issue #156
This commit is contained in:
parent
9927bb7e7d
commit
b30ddb43f7
|
@ -28,7 +28,7 @@ if is_running_in_docker():
|
||||||
MYSQL_HOST = "mysql"
|
MYSQL_HOST = "mysql"
|
||||||
MYSQL_PORT = 3306
|
MYSQL_PORT = 3306
|
||||||
MINIO_HOST = "minio"
|
MINIO_HOST = "minio"
|
||||||
MINIO_VISIT_HOST = "localhost"
|
MINIO_VISIT_HOST = os.getenv("MINIO_VISIT_HOST", "localhost")
|
||||||
MINIO_PORT = 9000
|
MINIO_PORT = 9000
|
||||||
ES_HOST = "es01"
|
ES_HOST = "es01"
|
||||||
ES_PORT = 9200
|
ES_PORT = 9200
|
||||||
|
|
|
@ -17,6 +17,7 @@ services:
|
||||||
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
|
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
|
||||||
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
|
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
|
||||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
- ../api/db/services/database.py:/ragflow/api/db/services/database.py
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TIMEZONE}
|
- TZ=${TIMEZONE}
|
||||||
|
|
|
@ -17,6 +17,7 @@ services:
|
||||||
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
|
- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
|
||||||
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
|
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
|
||||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
- ../api/db/services/database.py:/ragflow/api/db/services/database.py
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TIMEZONE}
|
- TZ=${TIMEZONE}
|
||||||
|
|
Loading…
Reference in New Issue