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>
This commit is contained in:
yihong 2025-02-28 14:28:00 +08:00 committed by GitHub
parent f150687dbc
commit 79bc9d97c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,25 +5,25 @@ mysql:
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'