linux下部署完善

This commit is contained in:
macro
2019-11-21 11:31:09 +08:00
parent b5a9ce44d7
commit 3d1e30015c
12 changed files with 35 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ spring:
elasticsearch:
cluster-nodes: 127.0.0.1:9300
cluster-name: elasticsearch
elasticsearch:
rest:
uris: http://localhost:9200
logging:
level:
root: info #日志配置DEBUG,INFO,WARN,ERROR

View File

@@ -7,5 +7,12 @@ spring:
elasticsearch:
cluster-nodes: es:9300
cluster-name: elasticsearch
elasticsearch:
rest:
uris: http://es:9200
logging:
path: /var/logs #配置日志生成路径
path: /var/logs #配置日志生成路径
management:
health:
elasticsearch:
response-timeout: 1000ms #加大健康检查超时时间