fengxiang
2018-02-01 cd16757f2cd963749850d6f8897381a8b7a849ef
src/main/resources/application.yml
@@ -3,8 +3,15 @@
  session-timeout: 30
  tomcat.max-threads: 0
  tomcat.uri-encoding: UTF-8
spring.profiles: default
moral.security.jwt:
    tokenExpirationTime: 15 # Number of minutes
    refreshTokenExpTime: 60 # Minutes
    tokenIssuer: http://monitor.7drlb.com
    tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus
spring:
  thymeleaf:
    cache: false
  datasource:
    url: jdbc:mysql://47.96.19.115:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
    username: root
@@ -36,6 +43,7 @@
    # 合并多个DruidDataSource的监控数据
    useGlobalDataSourceStat: true
  rabbitmq:
    host: 116.62.12.115
    port: 5672
@@ -45,7 +53,7 @@
  redis:
    host: 101.37.22.173
    host: 47.96.19.115
    port: 6379
    password: redis_pass
    database: 0
@@ -63,4 +71,5 @@
mybatis:
  mapper-locations: classpath*:/mapper/*Mapper.xml
  type-aliases-package: com.moral.entity
  config-location: classpath:/mapper/mybatis-config.xml