application-dev.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. server:
  2. port: 8088
  3. #address: 127.0.0.1
  4. #sessionTimeout: 30
  5. servlet:
  6. context-path: /cooleshow
  7. tomcat:
  8. uri-encoding: UTF-8
  9. spring:
  10. application:
  11. name: auth-server
  12. datasource:
  13. #url: jdbc:mysql://47.114.1.200:3306/mec_dev?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
  14. url: jdbc:mysql://localhost:3306/cooleshow_dev?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
  15. username: root
  16. password: 123456
  17. driver-class-name: com.mysql.jdbc.Driver
  18. debug: false
  19. #Druid#
  20. name: test
  21. #type: com.alibaba.druid.pool.DruidDataSource
  22. filters: stat
  23. maxActive: 20
  24. initialSize: 1
  25. maxWait: 60000
  26. minIdle: 1
  27. timeBetweenEvictionRunsMillis: 60000
  28. minEvictableIdleTimeMillis: 300000
  29. validationQuery: select 'x'
  30. testWhileIdle: true
  31. testOnBorrow: false
  32. testOnReturn: false
  33. poolPreparedStatements: true
  34. maxOpenPreparedStatements: 20
  35. #单节点redis
  36. redis:
  37. host: localhost
  38. port: 6379
  39. database: 0
  40. password:
  41. #timeout: 10000m
  42. mybatis:
  43. typeAliasesPackage: com.yonge.cooleshow.biz.dal.entity
  44. mapperLocations: classpath:config/mybatis/*.xml
  45. #config-location: classpath:mybatis/mybatis-config.xml
  46. # e签宝电子签名
  47. eseal:
  48. tsign:
  49. projectid: 4438776254
  50. projectSecret: a94cf63d6361084d232f345d71321691
  51. apisUrl: http://smlitsm.tsign.cn:8080/tgmonitor/rest/app!getAPIInfo2
  52. # 金山云OSS存储
  53. storage:
  54. sso:
  55. accessKeyID: AKLTtTeIbadpRG-pil4S0Q4m-Q
  56. accessKeySecret: OB1HmNOfDNW95wHoxMkP6IPFZXormk2ngA800TkvKAw7ozhiJGRqrMnnV8ZrAU3WRQ==
  57. endpoint: ks3-cn-beijing.ksyun.com
  58. bucketName: daya
  59. message:
  60. debugMode: true