|   | 
| server: | 
|   port: 8080 | 
|   session-timeout: 30 | 
|   tomcat.max-threads: 0 | 
|   tomcat.uri-encoding: UTF-8 | 
|   jsp-servlet: | 
|     init-parameters: | 
|             development: true | 
|   | 
| spring: | 
|   thymeleaf: | 
|     cache: false | 
|   datasource: | 
|     url: jdbc:mysql://47.96.26.152:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC | 
|     #url: jdbc:mysql://192.168.99.100:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC | 
|     username: root | 
|     password: xOlx8z9L7Pt6y9YI | 
|     #password: root123 | 
|     #driver-class-name: com.mysql.cj.jdbc.Driver | 
|     type: com.alibaba.druid.pool.DruidDataSource | 
|     # 下面为连接池的补充设置,应用到上面所有数据源中 | 
|     # 初始化大小,最小,最大 | 
|     initialSize: 10 | 
|     minIdle: 10 | 
|     maxActive: 20 | 
|     # 配置获取连接等待超时的时间 | 
|     maxWait: 60000 | 
|     # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | 
|     timeBetweenEvictionRunsMillis: 60000 | 
|     # 配置一个连接在池中最小生存的时间,单位是毫秒 | 
|     minEvictableIdleTimeMillis: 30000 | 
|     validationQuery: select 'x' | 
|     testWhileIdle: true | 
|     testOnBorrow: false | 
|     testOnReturn: false | 
|     keepAlive: true | 
|     # 打开PSCache,并且指定每个连接上PSCache的大小 | 
|     poolPreparedStatements: true | 
|     maxPoolPreparedStatementPerConnectionSize: 20 | 
|     # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 | 
|     filters: stat,wall,slf4j | 
|     # 通过connectProperties属性来打开mergeSql功能;慢SQL记录 | 
|     connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 | 
|     # 合并多个DruidDataSource的监控数据 | 
|     useGlobalDataSourceStat: true | 
|   | 
|   | 
|   rabbitmq: | 
|     host: 116.62.12.115 | 
|     port: 5672 | 
|     username: guest | 
|     password: guest | 
|     channelCacheSize: 10 | 
|   redis: | 
|     host: 47.100.8.247 | 
|     port: 6379 | 
|     password: moral_2018 | 
|     database: 1 | 
|     timeout: 5000 | 
|     pool: | 
|       max-active: 8 | 
|       max-wait: -1 | 
|       max-idle: 8 | 
|       min-idle: 0 | 
|   | 
|   | 
| #  data: | 
| #    mongodb: | 
| #      uri: mongodb://47.96.171.62:27017/monitor | 
|   | 
| mybatis: | 
|   mapper-locations: classpath*:/mapper/*Mapper.xml | 
|   config-location: classpath:/mapper/mybatis-config.xml | 
|   | 
| spring.profiles: default | 
|   | 
| moral.security.jwt: | 
|   tokenExpirationTime: 129600 # Number of minutes | 
|   refreshTokenExpTime: 60 # Minutes | 
|   tokenIssuer: http://monitor.7drlb.com | 
|   tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus |