Skip to content

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

rm some sensitive info (#157)

KevinHuSh0cb95c688e95
diff --git a/conf/mapping.json b/conf/mapping.json
index 713153eb1d..5cc11dde7a 100644
--- a/conf/mapping.json
+++ b/conf/mapping.json
@@ -1,4 +1,4 @@
-{
+ {
"settings": {
"index": {
"number_of_shards": 4,
@@ -29,6 +29,33 @@
}
}
},
+ {
+ "ulong": {
+ "match": "*_ulong",
+ "mapping": {
+ "type": "unsigned_long",
+ "store": "true"
+ }
+ }
+ },
+ {
+ "long": {
+ "match": "*_long",
+ "mapping": {
+ "type": "long",
+ "store": "true"
+ }
+ }
+ },
+ {
+ "short": {
+ "match": "*_short",
+ "mapping": {
+ "type": "short",
+ "store": "true"
+ }
+ }
+ },
{
"numeric": {
"match": "*_flt",
diff --git a/conf/service_conf.yaml b/conf/service_conf.yaml
index 5bf7b782a4..661d181328 100644
--- a/conf/service_conf.yaml
+++ b/conf/service_conf.yaml
@@ -5,23 +5,23 @@ mysql:
name: 'rag_flow'
user: 'root'
password: 'infini_rag_flow'
- host: '127.0.0.1'
- port: 5455
+ host: 'mysql'
+ port: 3306
max_connections: 100
stale_timeout: 30
minio:
user: 'rag_flow'
password: 'infini_rag_flow'
- host: '127.0.0.1:9000'
+ host: 'minio:9000'
es:
- hosts: 'http://127.0.0.1:1200'
+ hosts: 'http://es01:9200'
user_default_llm:
- factory: '通义千问'
+ factory: 'Tongyi-Qianwen'
api_key: 'sk-xxxxxxxxxxxxx'
oauth:
github:
- client_id: 302129228f0d96055bee
- secret_key: e518e55ccfcdfcae8996afc40f110e9c95f14fc4
+ client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
+ secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
url: https://github.com/login/oauth/access_token
authentication:
client:
diff --git a/docker/service_conf.yaml b/docker/service_conf.yaml
index f78f15db2f..661d181328 100644
--- a/docker/service_conf.yaml
+++ b/docker/service_conf.yaml
@@ -20,8 +20,8 @@ user_default_llm:
api_key: 'sk-xxxxxxxxxxxxx'
oauth:
github:
- client_id: 302129228f0d96055bee
- secret_key: e518e55ccfcdfcae8996afc40f110e9c95f14fc4
+ client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
+ secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
url: https://github.com/login/oauth/access_token
authentication:
client: