mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-05-11 21:17:33 +08:00
集成elasticsearch8.x,实现初始化加载类,以及es工具类相关抽象方法实现
This commit is contained in:
@@ -18,6 +18,12 @@ spring:
|
||||
WRITE_DATES_AS_TIMESTAMPS: false
|
||||
FAIL_ON_EMPTY_BEANS: false
|
||||
|
||||
elasticsearch:
|
||||
host: localhost
|
||||
port: 9200
|
||||
username: elastic
|
||||
password: kVgA7eeLyNQKh_IyV*mW #window系统本地启动 es8.x 重置密码命令:.\elasticsearch-reset-password -u elastic
|
||||
|
||||
springdoc:
|
||||
api-docs:
|
||||
path: /v3/api-docs # 自定义 API 文档路径
|
||||
|
||||
Reference in New Issue
Block a user