opt. docker中的es直接访问本地

This commit is contained in:
luke 2025-06-20 23:54:01 +08:00
parent 5928f23176
commit d949e034d7
3 changed files with 9 additions and 1 deletions

View File

@ -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.namespace=lukeye
spring.cloud.nacos.config.refreshEnabled=true spring.cloud.nacos.config.refreshEnabled=true
# ES配置
elasticsearch.host=localhost
elasticsearch.port=9200
# Arthas配置 # Arthas配置
arthas.telnetPort=-1 arthas.telnetPort=-1
arthas.httpPort=-1 arthas.httpPort=-1

View File

@ -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.namespace=lukeye
spring.cloud.nacos.config.refreshEnabled=true spring.cloud.nacos.config.refreshEnabled=true
# ES配置
elasticsearch.host=host.docker.internal
elasticsearch.port=9200
# Arthas配置 # Arthas配置
arthas.telnetPort=-1 arthas.telnetPort=-1
arthas.httpPort=-1 arthas.httpPort=-1

View File

@ -1,5 +1,5 @@
spring.application.name=doc-parser-server spring.application.name=kbase-server
application.author=Luke.Ye application.author=Luke.Ye
server.port=18080 server.port=18080