application-prod.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. server:
  2. # 端口号
  3. port: 5000
  4. security:
  5. oauth2:
  6. client:
  7. client-id: platform
  8. client-secret: platform
  9. scope: server
  10. resource:
  11. loadBalanced: true
  12. token-info-uri: http://localhost:5000/oauth/check_token
  13. spring:
  14. application:
  15. name: platform-rest
  16. redis:
  17. password:
  18. port: 6379
  19. host: localhost
  20. database: 1
  21. jpa:
  22. properties:
  23. hibernate:
  24. temp:
  25. use_jdbc_metadata_defaults: false
  26. dialect: org.hibernate.dialect.MySQLDialect
  27. datasource:
  28. druid:
  29. stat-view-servlet:
  30. login-password: platform8888
  31. login-username: root
  32. servlet:
  33. multipart:
  34. maxFileSize: "100MB"
  35. maxRequestSize: "1000MB"
  36. mail:
  37. host: smtp.exmail.qq.com #发送邮件服务器
  38. username: chenyh@tuzhiall.com #发送邮件的邮箱地址
  39. password: Chenyuehu521 #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
  40. properties.mail.smtp.port: 465 #端口号465或587
  41. from: chenyh@tuzhiall.com # 发送邮件的地址,和上面username一致
  42. properties.mail.smtp.starttls.enable: true
  43. properties.mail.smtp.starttls.required: true
  44. properties.mail.smtp.ssl.enable: true
  45. default-encoding: utf-8
  46. # 直接放行URL
  47. ignore:
  48. urls:
  49. - /upms/logs/**
  50. - /operate/**
  51. - /users/**
  52. - /users/work/**
  53. - /druid/**
  54. - /app-versions/**
  55. - /verify/**
  56. - /files/**
  57. - /mobile/token
  58. - /verify/captcha/**
  59. - /static/**
  60. - /service/**
  61. - /repair/application-forms/**
  62. - /sb/infos/**
  63. upload:
  64. root-dir: /home/data/sb-base/FileData
  65. platform:
  66. slf4j:
  67. data: /home/project
  68. ## 阿里云短信配置
  69. aliyun:
  70. message:
  71. regionId: cn-hangzhou
  72. accessKeyId: u4dWx6Jxp4UJNqPj
  73. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  74. remove:
  75. capitalType: 5
  76. companyId: 5e902722d762f008b01b9ee1