|
@@ -27,9 +27,6 @@ mybatis-plus:
|
|
|
swagger:
|
|
|
url: /v2/api-docs,/swagger-resources,/swagger-resources/**,/configuration/ui,/configuration/security,/swagger-ui.html/**,/webjars/**,/doc.html,/doc.html/**,/*.html,/**.html,/**/*.html,/**/*.css,/**/*.js,/sys/api/list,/sys/user/batch,/sys/org/batch
|
|
|
|
|
|
-#logging:
|
|
|
-# level:
|
|
|
-# com.szwl: debug
|
|
|
logging:
|
|
|
file:
|
|
|
name: /app/applogs/${spring.application.name}/${spring.application.name}.log
|
|
@@ -37,34 +34,6 @@ logging:
|
|
|
max-size: 100MB
|
|
|
level:
|
|
|
com.szwl: debug
|
|
|
-# es配置
|
|
|
-elasticSearch:
|
|
|
- host: 120.78.140.173
|
|
|
- #elasticSearch.host: 10.0.0.155
|
|
|
- port: 9200
|
|
|
- client.connectNum: 1000
|
|
|
- connectPerRoute: 50
|
|
|
- client.esUserName: elastic
|
|
|
- client.esPassword: sunzee@020
|
|
|
----
|
|
|
-# mq配置
|
|
|
-spring:
|
|
|
- rabbitmq:
|
|
|
- addresses: 112.74.63.148:5672,120.78.140.173:5672,47.112.127.131:5672
|
|
|
- username: zwlzwlzwl
|
|
|
- password: 123456
|
|
|
- virtual-host: /
|
|
|
- # publisher-confirms: true
|
|
|
- connection-timeout: 5s
|
|
|
- mandatory: true
|
|
|
- template.mandatory: true
|
|
|
- publisher-returns: true
|
|
|
- cache.channel.size: 1000
|
|
|
- concurrency: 500
|
|
|
- max-concurrency: 2000
|
|
|
- listener.simple.concurrency: 1000
|
|
|
- listener.simple.max-concurrency: 2000
|
|
|
-
|
|
|
|
|
|
##上面是基础配置,不用上配置中心那种
|
|
|
##下面是环境区分,主要不同环境不同文件获取
|
|
@@ -87,7 +56,7 @@ eureka:
|
|
|
register-with-eureka: true
|
|
|
instance:
|
|
|
prefer-ip-address: true
|
|
|
- # ip-address: 120.25.151.99
|
|
|
+ ip-address: 120.25.151.99
|
|
|
|
|
|
---
|
|
|
##正式环境
|