From d949e034d72a0b5cbe7f5276d2d9a536173142f6 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 20 Jun 2025 23:54:01 +0800 Subject: [PATCH] =?UTF-8?q?opt.=20docker=E4=B8=AD=E7=9A=84es=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E8=AE=BF=E9=97=AE=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev-windows.properties | 4 ++++ src/main/resources/application-docker.properties | 4 ++++ src/main/resources/application.properties | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-dev-windows.properties b/src/main/resources/application-dev-windows.properties index 8f21468..29d997f 100644 --- a/src/main/resources/application-dev-windows.properties +++ b/src/main/resources/application-dev-windows.properties @@ -14,6 +14,10 @@ spring.cloud.nacos.config.server-addr=http://101.132.255.39:8848 spring.cloud.nacos.config.namespace=lukeye spring.cloud.nacos.config.refreshEnabled=true +# ES配置 +elasticsearch.host=localhost +elasticsearch.port=9200 + # Arthas配置 arthas.telnetPort=-1 arthas.httpPort=-1 diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties index a576f66..0792b00 100644 --- a/src/main/resources/application-docker.properties +++ b/src/main/resources/application-docker.properties @@ -14,6 +14,10 @@ spring.cloud.nacos.config.server-addr=http://host.docker.internal:8848 spring.cloud.nacos.config.namespace=lukeye spring.cloud.nacos.config.refreshEnabled=true +# ES配置 +elasticsearch.host=host.docker.internal +elasticsearch.port=9200 + # Arthas配置 arthas.telnetPort=-1 arthas.httpPort=-1 diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 213b53a..abc5ab2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ -spring.application.name=doc-parser-server +spring.application.name=kbase-server application.author=Luke.Ye server.port=18080