Quellcode durchsuchen

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 vor 8 Monaten
Ursprung
Commit
79bc9d97c9
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5
    5
      conf/service_conf.yaml

+ 5
- 5
conf/service_conf.yaml Datei anzeigen

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

# postgres:
# name: 'rag_flow'

Laden…
Abbrechen
Speichern