bootstrap-dev.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. server:
  2. port: 9095
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. enabled: true
  8. # servlet:
  9. # context-path: /business
  10. spring:
  11. application:
  12. name: aj-report
  13. #上传图片大小限制为10MB
  14. servlet:
  15. multipart:
  16. max-file-size: 10MB
  17. # cloud:
  18. # nacos:
  19. # server-addr: 10.108.26.121:8848,10.108.26.145:8848
  20. # username: gaea
  21. # password: p@ss1234
  22. # config:
  23. # namespace: 5c6b6687-ad43-450f-88b6-e704ff78d83f
  24. # file-extension: yaml
  25. # discovery:
  26. # namespace: 5c6b6687-ad43-450f-88b6-e704ff78d83f
  27. jackson:
  28. date-format: yyyy-MM-dd HH:mm:ss
  29. messages:
  30. basename: i18n/messages
  31. datasource:
  32. url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
  33. username: root
  34. password: appuser@anji
  35. # 禁用redis,使用ehcache
  36. # redis:
  37. # host: 10.108.26.197
  38. # port: 6379
  39. # password: appuser@anji
  40. # database: 1
  41. flyway:
  42. baseline-on-migrate: true
  43. #数据库连接配置
  44. url: ${spring.datasource.url}
  45. user: ${spring.datasource.username}
  46. password: ${spring.datasource.password}
  47. placeholder-replacement: false
  48. init-sqls:
  49. - CREATE DATABASE IF NOT EXISTS `aj_report` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
  50. generator:
  51. enabled: true
  52. workspace: /workspace/gaea
  53. templatePath: template
  54. mybatis-plus:
  55. configuration:
  56. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  57. call-setters-on-nulls: true
  58. mapperLocations:
  59. - classpath*:/mapper/**/*.xml
  60. - classpath*:/modeler-mybatis-mappings/**/*.xml
  61. management:
  62. endpoints:
  63. web:
  64. base-path: /
  65. logging:
  66. config: classpath:logback.xml
  67. file:
  68. dist-path: /app/disk/upload/
  69. white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi
  70. excelSuffix: .xlsx|.xls|.csv
  71. downloadPath: http://10.108.26.197:9095/file/
  72. customer:
  73. # 跳过token验证和权限验证的url清单
  74. skip-authenticate-urls: /gaeaDict/all, /login, /static, /file/download/, /index.html