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.
 
 
 
 
 

113 lines
3.2 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&allowMultiQueries=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=60000"
  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. publisher-returns: false
  62. virtual-host: /
  63. flyway:
  64. enabled: true
  65. aws:
  66. clientRegion: cn-northwest-1
  67. bucketName: iformall-net
  68. access: ENC(NCLcmjwKpAWdn/abD17OKIY7yKepVLWzEpqRYUlURCw=)
  69. secret: ENC(TRcZqql0Rq5PExlMeH/4WiZ/i02b8FXKmLTBChJmbluTa1uoLS9LrHyNEMrqe1DK+QgOAdvqGBo=)
  70. wechat:
  71. web:
  72. appId: "wx091907dd0bfd3f6b"
  73. secret: "2a2ca10738998b9ef92c1fe8a4d366a6"
  74. url: "https://admintest.malls.iformall.com"
  75. open:
  76. componentAppId: ENC(hnH31XdNzArfMfikKgBFpqQuJUl6rVOPFFcAVyb595o=)
  77. componentSecret: ENC(t/GUVX5L+U7LCwSvZ5WmxAnmTMrc/Uy1nljsrokuzzsBL2j6BEVnrS/n7DCdGc/G)
  78. componentToken: ENC(gUF1m0YgCCI2IY54fX6sGLZVlCswA8tG)
  79. componentAesKey: ENC(TYHcrIkICtfrCfGq4HW6s1b/pHf7OD2uyPN11SzJNB0acqJ/4JVX1nuljo/cAtgMG4O05TImLQc=)
  80. redis:
  81. host: 127.0.0.1
  82. port: 6379
  83. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  84. timeout: 3600
  85. expire: 1800 #30分钟
  86. database: 2
  87. defaultExpiration: 2592000 # 默认生命周期30天
  88. jedis:
  89. pool:
  90. max-active: 100
  91. max-idle: 100
  92. max-wait: -1
  93. min-idle: 10
  94. fm:
  95. exception: true
  96. exception_emails: houtaikaifa@iformall.com
  97. deploy: 2
  98. open: true
  99. upload_dir: /home/ec2-user/server/uploads/
  100. ueditor:
  101. config: config.json
  102. unified: true
  103. upload-path: ./upload/
  104. url-prefix: ""
  105. logging:
  106. level:
  107. com.iformall: debug
  108. path: ./logs/admin