You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
3.1 KiB

  1. spring:
  2. profiles:
  3. include: rabbitMQ
  4. # JDBC
  5. datasource:
  6. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallinkTest?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
  7. username: ENC(Uc0AjgkytxHHCwZrmDASWg==)
  8. password: ENC(nV4Mi3bEbBx0Fj7uUyYH55eTaqsFMjKvmNzagicH4pc=)
  9. type: com.alibaba.druid.pool.DruidDataSource
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. filters: stat
  12. maxActive: 20
  13. initialSize: 1
  14. maxWait: 60000
  15. minIdle: 1
  16. timeBetweenEvictionRunsMillis: 28000
  17. minEvictableIdleTimeMillis: 28000
  18. validationQuery: select 'x'
  19. testWhileIdle: true
  20. testOnBorrow: false
  21. testOnReturn: false
  22. poolPreparedStatements: true
  23. maxOpenPreparedStatements: 20
  24. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  25. # REDIS
  26. redis:
  27. host: 127.0.0.1
  28. port: 6379
  29. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  30. timeout: 3600
  31. expire: 1800 #30分钟
  32. database: 1
  33. defaultExpiration: 2592000 # 默认生命周期30天
  34. jedis:
  35. pool:
  36. max-active: 100
  37. max-idle: 20
  38. max-wait: -1
  39. min-idle: 0
  40. # EMAIL
  41. mail:
  42. host: smtp.exmail.qq.com
  43. username: ENC(TtJQE2C4cWo8CpVGMMl5hiy5eykepd96J5XjsW3Kj5fgP+6+5ctDNQ==)
  44. password: ENC(Zh6A6kRtA2ABtH6nzdvsqQSO1/8p3mparJr8neI2BLU=) # 授权密码
  45. properties:
  46. mail:
  47. smtp:
  48. auth: true
  49. starttls:
  50. enable: true
  51. socketFactory:
  52. port: 465
  53. class: javax.net.ssl.SSLSocketFactory
  54. # RABBITMQ
  55. rabbitmq:
  56. host: 127.0.0.1
  57. port: 5672
  58. username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
  59. password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
  60. publisher-confirms: true
  61. virtual-host: /
  62. flyway:
  63. enabled: true
  64. aws:
  65. clientRegion: cn-northwest-1
  66. bucketName: iformall-net
  67. access: ENC(NCLcmjwKpAWdn/abD17OKIY7yKepVLWzEpqRYUlURCw=)
  68. secret: ENC(TRcZqql0Rq5PExlMeH/4WiZ/i02b8FXKmLTBChJmbluTa1uoLS9LrHyNEMrqe1DK+QgOAdvqGBo=)
  69. wechat:
  70. open:
  71. componentAppId: ENC(hnH31XdNzArfMfikKgBFpqQuJUl6rVOPFFcAVyb595o=)
  72. componentSecret: ENC(t/GUVX5L+U7LCwSvZ5WmxAnmTMrc/Uy1nljsrokuzzsBL2j6BEVnrS/n7DCdGc/G)
  73. componentToken: ENC(gUF1m0YgCCI2IY54fX6sGLZVlCswA8tG)
  74. componentAesKey: ENC(TYHcrIkICtfrCfGq4HW6s1b/pHf7OD2uyPN11SzJNB0acqJ/4JVX1nuljo/cAtgMG4O05TImLQc=)
  75. redis:
  76. host: 127.0.0.1
  77. port: 6379
  78. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  79. timeout: 3600
  80. expire: 1800 #30分钟
  81. database: 2
  82. defaultExpiration: 2592000 # 默认生命周期30天
  83. jedis:
  84. pool:
  85. max-active: 100
  86. max-idle: 100
  87. max-wait: -1
  88. min-idle: 10
  89. fm:
  90. exception: true
  91. exception_emails: houtaikaifa@iformall.com
  92. audit_emails: xiaochengxufabu@iformall.com
  93. deploy: 2
  94. upload_dir: /home/ec2-user/server/uploads/
  95. ueditor:
  96. config: config.json
  97. unified: true
  98. upload-path: ./upload/
  99. url-prefix: ""
  100. logging:
  101. level:
  102. tk.mybatis: debug
  103. com.iformall: debug
  104. path: ./logs/admin