fix: Remove irrelevant changes from service_conf.yaml.template
Keep only the single bucket mode additions (bucket and prefix_path) for the minio section, reverting all other unrelated changes.
This commit is contained in:
parent
cbefc1283d
commit
32495c6cbc
1 changed files with 94 additions and 41 deletions
|
|
@ -1,31 +1,24 @@
|
||||||
ragflow:
|
ragflow:
|
||||||
host: ${RAGFLOW_HOST:-0.0.0.0}
|
host: ${RAGFLOW_HOST:-0.0.0.0}
|
||||||
http_port: 9380
|
http_port: 9380
|
||||||
svr_http_port: 8080
|
|
||||||
admin:
|
admin:
|
||||||
host: ${RAGFLOW_HOST:-0.0.0.0}
|
host: ${RAGFLOW_HOST:-0.0.0.0}
|
||||||
http_port: 9381
|
http_port: 9381
|
||||||
# mysql:
|
mysql:
|
||||||
# name: '${MYSQL_DBNAME:-rag_flow}'
|
name: '${MYSQL_DBNAME:-rag_flow}'
|
||||||
# user: '${MYSQL_USER:-root}'
|
user: '${MYSQL_USER:-root}'
|
||||||
# password: '${MYSQL_PASSWORD:-infini_rag_flow}'
|
password: '${MYSQL_PASSWORD:-infini_rag_flow}'
|
||||||
# host: '${MYSQL_HOST:-mysql}'
|
host: '${MYSQL_HOST:-mysql}'
|
||||||
# port: 3306
|
port: 3306
|
||||||
# max_connections: 900
|
max_connections: 900
|
||||||
# stale_timeout: 300
|
stale_timeout: 300
|
||||||
# max_allowed_packet: ${MYSQL_MAX_PACKET:-1073741824}
|
max_allowed_packet: ${MYSQL_MAX_PACKET:-1073741824}
|
||||||
minio:
|
minio:
|
||||||
user: '${MINIO_USER:-rag_flow}'
|
user: '${MINIO_USER:-rag_flow}'
|
||||||
password: '${MINIO_PASSWORD:-infini_rag_flow}'
|
password: '${MINIO_PASSWORD:-infini_rag_flow}'
|
||||||
host: '${MINIO_HOST:-minio}:9000'
|
host: '${MINIO_HOST:-minio}:9000'
|
||||||
bucket: '${MINIO_BUCKET:-}'
|
bucket: '${MINIO_BUCKET:-}'
|
||||||
prefix_path: '${MINIO_PREFIX_PATH:-}'
|
prefix_path: '${MINIO_PREFIX_PATH:-}'
|
||||||
# s3:
|
|
||||||
# access_key: '${MINIO_USER}'
|
|
||||||
# secret_key: '${MINIO_PASSWORD}'
|
|
||||||
# endpoint_url: 'https://${MINIO_HOST}'
|
|
||||||
# bucket: 'ragflow-bucket'
|
|
||||||
# region: 'us-east-1'
|
|
||||||
es:
|
es:
|
||||||
hosts: 'http://${ES_HOST:-es01}:9200'
|
hosts: 'http://${ES_HOST:-es01}:9200'
|
||||||
username: '${ES_USER:-elastic}'
|
username: '${ES_USER:-elastic}'
|
||||||
|
|
@ -37,19 +30,41 @@ os:
|
||||||
infinity:
|
infinity:
|
||||||
uri: '${INFINITY_HOST:-infinity}:23817'
|
uri: '${INFINITY_HOST:-infinity}:23817'
|
||||||
db_name: 'default_db'
|
db_name: 'default_db'
|
||||||
|
oceanbase:
|
||||||
|
scheme: 'oceanbase' # set 'mysql' to create connection using mysql config
|
||||||
|
config:
|
||||||
|
db_name: '${OCEANBASE_DOC_DBNAME:-test}'
|
||||||
|
user: '${OCEANBASE_USER:-root@ragflow}'
|
||||||
|
password: '${OCEANBASE_PASSWORD:-infini_rag_flow}'
|
||||||
|
host: '${OCEANBASE_HOST:-oceanbase}'
|
||||||
|
port: ${OCEANBASE_PORT:-2881}
|
||||||
redis:
|
redis:
|
||||||
db: 1
|
db: 1
|
||||||
|
username: '${REDIS_USERNAME:-}'
|
||||||
password: '${REDIS_PASSWORD:-infini_rag_flow}'
|
password: '${REDIS_PASSWORD:-infini_rag_flow}'
|
||||||
host: '${REDIS_HOST:-redis}:6379'
|
host: '${REDIS_HOST:-redis}:6379'
|
||||||
|
user_default_llm:
|
||||||
postgres:
|
default_models:
|
||||||
name: '${POSTGRES_DBNAME:-rag_flow}'
|
embedding_model:
|
||||||
user: '${POSTGRES_USER:-rag_flow}'
|
api_key: 'xxx'
|
||||||
password: '${POSTGRES_PASSWORD:-infini_rag_flow}'
|
base_url: 'http://${TEI_HOST}:80'
|
||||||
host: '${POSTGRES_HOST:-postgres}'
|
# postgres:
|
||||||
port: 5432
|
# name: '${POSTGRES_DBNAME:-rag_flow}'
|
||||||
max_connections: 100
|
# user: '${POSTGRES_USER:-rag_flow}'
|
||||||
stale_timeout: 30
|
# password: '${POSTGRES_PASSWORD:-infini_rag_flow}'
|
||||||
|
# host: '${POSTGRES_HOST:-postgres}'
|
||||||
|
# port: 5432
|
||||||
|
# max_connections: 100
|
||||||
|
# stale_timeout: 30
|
||||||
|
# s3:
|
||||||
|
# access_key: 'access_key'
|
||||||
|
# secret_key: 'secret_key'
|
||||||
|
# region: 'region'
|
||||||
|
# endpoint_url: 'endpoint_url'
|
||||||
|
# bucket: 'bucket'
|
||||||
|
# prefix_path: 'prefix_path'
|
||||||
|
# signature_version: 'v4'
|
||||||
|
# addressing_style: 'path'
|
||||||
# oss:
|
# oss:
|
||||||
# access_key: '${ACCESS_KEY}'
|
# access_key: '${ACCESS_KEY}'
|
||||||
# secret_key: '${SECRET_KEY}'
|
# secret_key: '${SECRET_KEY}'
|
||||||
|
|
@ -68,27 +83,50 @@ postgres:
|
||||||
# secret: 'secret'
|
# secret: 'secret'
|
||||||
# tenant_id: 'tenant_id'
|
# tenant_id: 'tenant_id'
|
||||||
# container_name: 'container_name'
|
# container_name: 'container_name'
|
||||||
|
# The OSS object storage uses the MySQL configuration above by default. If you need to switch to another object storage service, please uncomment and configure the following parameters.
|
||||||
|
# opendal:
|
||||||
|
# scheme: 'mysql' # Storage type, such as s3, oss, azure, etc.
|
||||||
|
# config:
|
||||||
|
# oss_table: 'opendal_storage'
|
||||||
# user_default_llm:
|
# user_default_llm:
|
||||||
# factory: 'Tongyi-Qianwen'
|
# factory: 'BAAI'
|
||||||
# api_key: 'sk-xxxxxxxxxxxxx'
|
# api_key: 'backup'
|
||||||
# base_url: ''
|
# base_url: 'backup_base_url'
|
||||||
# default_models:
|
# default_models:
|
||||||
# chat_model: 'qwen-plus'
|
# chat_model:
|
||||||
# embedding_model: 'BAAI/bge-large-zh-v1.5@BAAI'
|
# name: 'qwen2.5-7b-instruct'
|
||||||
# rerank_model: ''
|
# factory: 'xxxx'
|
||||||
# asr_model: ''
|
# api_key: 'xxxx'
|
||||||
|
# base_url: 'https://api.xx.com'
|
||||||
|
# embedding_model:
|
||||||
|
# name: 'bge-m3'
|
||||||
|
# rerank_model: 'bge-reranker-v2'
|
||||||
|
# asr_model:
|
||||||
|
# model: 'whisper-large-v3' # alias of name
|
||||||
# image2text_model: ''
|
# image2text_model: ''
|
||||||
# oauth:
|
# oauth:
|
||||||
|
# oauth2:
|
||||||
|
# display_name: "OAuth2"
|
||||||
|
# client_id: "your_client_id"
|
||||||
|
# client_secret: "your_client_secret"
|
||||||
|
# authorization_url: "https://your-oauth-provider.com/oauth/authorize"
|
||||||
|
# token_url: "https://your-oauth-provider.com/oauth/token"
|
||||||
|
# userinfo_url: "https://your-oauth-provider.com/oauth/userinfo"
|
||||||
|
# redirect_uri: "https://your-app.com/v1/user/oauth/callback/oauth2"
|
||||||
|
# oidc:
|
||||||
|
# display_name: "OIDC"
|
||||||
|
# client_id: "your_client_id"
|
||||||
|
# client_secret: "your_client_secret"
|
||||||
|
# issuer: "https://your-oauth-provider.com/oidc"
|
||||||
|
# scope: "openid email profile"
|
||||||
|
# redirect_uri: "https://your-app.com/v1/user/oauth/callback/oidc"
|
||||||
# github:
|
# github:
|
||||||
# client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
|
# type: "github"
|
||||||
# secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
# icon: "github"
|
||||||
# url: https://github.com/login/oauth/access_token
|
# display_name: "Github"
|
||||||
# feishu:
|
# client_id: "your_client_id"
|
||||||
# app_id: cli_xxxxxxxxxxxxxxxxxxx
|
# client_secret: "your_client_secret"
|
||||||
# app_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
# redirect_uri: "https://your-app.com/v1/user/oauth/callback/github"
|
||||||
# app_access_token_url: https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal
|
|
||||||
# user_access_token_url: https://open.feishu.cn/open-apis/authen/v1/oidc/access_token
|
|
||||||
# grant_type: 'authorization_code'
|
|
||||||
# authentication:
|
# authentication:
|
||||||
# client:
|
# client:
|
||||||
# switch: false
|
# switch: false
|
||||||
|
|
@ -100,3 +138,18 @@ postgres:
|
||||||
# switch: false
|
# switch: false
|
||||||
# component: false
|
# component: false
|
||||||
# dataset: false
|
# dataset: false
|
||||||
|
# smtp:
|
||||||
|
# mail_server: ""
|
||||||
|
# mail_port: 465
|
||||||
|
# mail_use_ssl: true
|
||||||
|
# mail_use_tls: false
|
||||||
|
# mail_username: ""
|
||||||
|
# mail_password: ""
|
||||||
|
# mail_default_sender:
|
||||||
|
# - "RAGFlow" # display name
|
||||||
|
# - "" # sender email address
|
||||||
|
# mail_frontend_url: "https://your-frontend.example.com"
|
||||||
|
# tcadp_config:
|
||||||
|
# secret_id: '${TENCENT_SECRET_ID}'
|
||||||
|
# secret_key: '${TENCENT_SECRET_KEY}'
|
||||||
|
# region: '${TENCENT_REGION}'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue