Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat(config): Update service config template new defaults (#10029)

Liu Anfc95d113c3a8
diff --git a/docker/service_conf.yaml.template b/docker/service_conf.yaml.template
index c36e921c9c..5db35b9c7f 100644
--- a/docker/service_conf.yaml.template
+++ b/docker/service_conf.yaml.template
@@ -29,7 +29,6 @@ redis:
db: 1
password: '${REDIS_PASSWORD:-infini_rag_flow}'
host: '${REDIS_HOST:-redis}:6379'
-
# postgres:
# name: '${POSTGRES_DBNAME:-rag_flow}'
# user: '${POSTGRES_USER:-rag_flow}'
@@ -65,15 +64,26 @@ redis:
# secret: 'secret'
# tenant_id: 'tenant_id'
# 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:
-# factory: 'Tongyi-Qianwen'
-# api_key: 'sk-xxxxxxxxxxxxx'
-# base_url: ''
+# factory: 'BAAI'
+# api_key: 'backup'
+# base_url: 'backup_base_url'
# default_models:
-# chat_model: 'qwen-plus'
-# embedding_model: 'BAAI/bge-large-zh-v1.5@BAAI'
-# rerank_model: ''
-# asr_model: ''
+# 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: ''
# oauth:
# oauth2:
@@ -109,3 +119,14 @@ redis:
# switch: false
# component: 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"