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.
 
 
 
 
 

114 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/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
  7. username: ENC(NUzgQOdJnCbVLKT6BaX0aw==)
  8. password: ENC(mvuoDRiu0jqYaKNRwwTuXZ6U7aoIaqsjdiPqTLgi/nY=)
  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(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
  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(IiL/PHP9wCkpibWHRH/Mts8K9fh4izYqaiaF66bDrqtEHP+KUcJRRg==)
  44. password: ENC(m7L57m8mk6tApVoa4XIDQnXF0VxnYjKe4LVdzcgb+xY=) # 授权密码
  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: localhost
  57. port: 5672
  58. username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
  59. password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
  60. publisher-confirms: true
  61. publisher-returns: true
  62. virtual-host: /
  63. flyway:
  64. enabled: true
  65. aws:
  66. clientRegion: cn-northwest-1
  67. bucketName: iformall-net
  68. access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=)
  69. secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=)
  70. wechat:
  71. web:
  72. appId: "wx9cc4ca09eb20fe03"
  73. secret: "af1d7f7a1268022a73cb4ce0b9cf0985"
  74. url: "https://admin.malls.iformall.com"
  75. open:
  76. componentAppId: ENC(b3JG0MUZgQfz5Zj+DC2ZM1zDeLOiGTmmeokfe2O8kaM=)
  77. componentSecret: ENC(QVyc4BPGdnSjXGs2ivgpDBE1v8wPWHLLRMYI7Vv8uYwC0SiZHQz0QpyyQV/b48Pb)
  78. componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC)
  79. componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=)
  80. redis:
  81. host: 127.0.0.1
  82. port: 6379
  83. password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
  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: 3
  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. tk.mybatis: debug
  108. com.iformall.mapper: debug
  109. path: ./logs/admin