From 79bc9d97c98041c0f4dde49fe5b154fb7798ec80 Mon Sep 17 00:00:00 2001 From: yihong Date: Fri, 28 Feb 2025 14:28:00 +0800 Subject: [PATCH] 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 --- conf/service_conf.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/service_conf.yaml b/conf/service_conf.yaml index 0ba487b4e..e0ed3de86 100644 --- a/conf/service_conf.yaml +++ b/conf/service_conf.yaml @@ -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'