xufenglei
2018-04-27 4686914dd93138d69e9280a88f24a51a711f52be
src/main/resources/application.yml
@@ -1,12 +1,18 @@
server:
  port: 8001
  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.19.115:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
    url: jdbc:mysql://47.96.26.152:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
    username: root
    password: xOlx8z9L7Pt6y9YI
    #driver-class-name: com.mysql.cj.jdbc.Driver
@@ -36,6 +42,7 @@
    # 合并多个DruidDataSource的监控数据
    useGlobalDataSourceStat: true
  rabbitmq:
    host: 116.62.12.115
    port: 5672
@@ -45,7 +52,7 @@
  redis:
    host: 101.37.22.173
    host: 47.96.19.115
    port: 6379
    password: redis_pass
    database: 0
@@ -57,10 +64,19 @@
      min-idle: 0
  data:
    mongodb:
      uri: mongodb://47.96.171.62:27017/monitor
#  data:
#    mongodb:
#      uri: mongodb://47.96.171.62:27017/monitor
#mybatis:
#  mapper-locations: classpath*:/mapper/*Mapper.xml
#  type-aliases-package: com.moral.entity
mybatis:
  mapper-locations: classpath*:/mapper/*Mapper.xml
  config-location: classpath:/mapper/mybatis-config.xml
spring.profiles: default
moral.security.jwt:
  tokenExpirationTime: 5 # Number of minutes
  refreshTokenExpTime: 60 # Minutes
  tokenIssuer: http://monitor.7drlb.com
  tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus