2024-11-13 15:56:40 +08:00
ragflow :
host : 0.0 .0 .0
http_port : 9380
mysql :
name : 'rag_flow'
user : 'root'
password : 'infini_rag_flow'
2025-02-28 14:28:00 +08:00
host : 'localhost'
2024-11-14 00:08:55 +08:00
port : 5455
2025-05-09 17:52:03 +08:00
max_connections : 900
stale_timeout : 300
2025-06-12 11:37:42 +08:00
max_allowed_packet : 1073741824
2024-11-13 15:56:40 +08:00
minio :
user : 'rag_flow'
password : 'infini_rag_flow'
2025-02-28 14:28:00 +08:00
host : 'localhost:9000'
2024-11-13 15:56:40 +08:00
es :
2025-02-28 14:28:00 +08:00
hosts : 'http://localhost:1200'
2024-11-13 15:56:40 +08:00
username : 'elastic'
password : 'infini_rag_flow'
2025-04-24 16:03:31 +08:00
os :
hosts : 'http://localhost:1201'
username : 'admin'
password : 'infini_rag_flow_OS_01'
2024-11-25 11:53:58 +08:00
infinity :
2025-02-28 14:28:00 +08:00
uri : 'localhost:23817'
2024-11-25 11:53:58 +08:00
db_name : 'default_db'
2024-11-13 15:56:40 +08:00
redis :
db : 1
2025-01-06 11:06:24 +07:00
password : 'infini_rag_flow'
2025-02-28 14:28:00 +08:00
host : 'localhost:6379'
2024-11-13 15:56:40 +08:00
# postgres:
# name: 'rag_flow'
# user: 'rag_flow'
# password: 'infini_rag_flow'
# host: 'postgres'
# port: 5432
# max_connections: 100
# stale_timeout: 30
# s3:
# access_key: 'access_key'
# secret_key: 'secret_key'
# region: 'region'
2025-02-27 17:02:42 +08:00
# oss:
# access_key: 'access_key'
# secret_key: 'secret_key'
# endpoint_url: 'http://oss-cn-hangzhou.aliyuncs.com'
# region: 'cn-hangzhou'
# bucket: 'bucket_name'
2024-11-13 15:56:40 +08:00
# azure:
# auth_type: 'sas'
# container_url: 'container_url'
# sas_token: 'sas_token'
# azure:
# auth_type: 'spn'
# account_url: 'account_url'
# client_id: 'client_id'
# secret: 'secret'
# tenant_id: 'tenant_id'
# container_name: 'container_name'
2025-06-12 11:37:42 +08:00
# 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:
2025-06-13 14:56:51 +08:00
# scheme: 'mysql' # Storage type, such as s3, oss, azure, etc.
2025-06-12 11:37:42 +08:00
# config:
2025-07-02 16:45:01 +08:00
# oss_table: 'opendal_storage'
2024-11-13 15:56:40 +08:00
# user_default_llm:
2025-08-13 09:46:05 +08:00
# factory: 'BAAI'
# api_key: 'backup'
# base_url: 'backup_base_url'
# default_models:
# chat_model:
# name: 'qwen2.5-7b-instruct'
# factory: 'xxxx'
# 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: ''
2024-11-13 15:56:40 +08:00
# oauth:
2025-05-16 14:17:39 +08:00
# 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"
2024-11-13 15:56:40 +08:00
# github:
2025-05-16 14:17:39 +08:00
# type: "github"
# icon: "github"
2025-05-15 14:39:37 +08:00
# display_name: "Github"
2025-05-16 14:17:39 +08:00
# client_id: "your_client_id"
# client_secret: "your_client_secret"
# redirect_uri: "https://your-app.com/v1/user/oauth/callback/github"
2024-11-13 15:56:40 +08:00
# authentication:
# client:
# switch: false
# http_app_key:
# http_secret_key:
# site:
# switch: false
# permission:
# switch: false
# component: false
# dataset: false