add:生产环境配置

This commit is contained in:
zhangzhiqiang
2023-03-01 15:23:54 +08:00
parent c30d6ea551
commit e5fb957b33
6 changed files with 23 additions and 5 deletions

View File

@@ -14,6 +14,22 @@ erp:
password: 123456
#配置数据源
spring:
data:
elasticsearch:
repositories:
enabled: true
client:
reactive:
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
endpoints: 10.16.1.24:9200 #外网
# endpoints: http://10.1.3.90:9200 #外网
elasticsearch:
rest:
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
uris: 10.16.1.24:9200 #外网
# uris: http://10.1.3.90:9200 #外网
# username: elastic
# password: 123456
datasource:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
@@ -158,3 +174,5 @@ logging:
file:
path: /app/jar/logs
config: classpath:logback-spring.xml
es:
index: whxr_log