瀏覽代碼

Refa: better service conf (#5471)

### What problem does this PR solve?

This patch fix most of the issues like #4853 #5038 and so on

the root reason is that we need to add the hostname to the `/etc/hosts`
which is not wrote in main README
and the code side read `conf/service_conf.yaml` as settings 
and its hard for developers to debug, this patch fix it, or maybe can
discuss better solution here
 
### Type of change

- [x] Refactoring

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
tags/v0.17.0
yihong 8 月之前
父節點
當前提交
79bc9d97c9
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. 5
    5
      conf/service_conf.yaml

+ 5
- 5
conf/service_conf.yaml 查看文件

name: 'rag_flow' name: 'rag_flow'
user: 'root' user: 'root'
password: 'infini_rag_flow' password: 'infini_rag_flow'
host: 'mysql'
host: 'localhost'
port: 5455 port: 5455
max_connections: 100 max_connections: 100
stale_timeout: 30 stale_timeout: 30
minio: minio:
user: 'rag_flow' user: 'rag_flow'
password: 'infini_rag_flow' password: 'infini_rag_flow'
host: 'minio:9000'
host: 'localhost:9000'
es: es:
hosts: 'http://es01:1200'
hosts: 'http://localhost:1200'
username: 'elastic' username: 'elastic'
password: 'infini_rag_flow' password: 'infini_rag_flow'
infinity: infinity:
uri: 'infinity:23817'
uri: 'localhost:23817'
db_name: 'default_db' db_name: 'default_db'
redis: redis:
db: 1 db: 1
password: 'infini_rag_flow' password: 'infini_rag_flow'
host: 'redis:6379'
host: 'localhost:6379'


# postgres: # postgres:
# name: 'rag_flow' # name: 'rag_flow'

Loading…
取消
儲存