bootstrap-dev.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. # cloud:
  14. # nacos:
  15. # server-addr: 10.108.26.121:8848,10.108.26.145:8848
  16. # username: gaea
  17. # password: p@ss1234
  18. # config:
  19. # namespace: 5c6b6687-ad43-450f-88b6-e704ff78d83f
  20. # file-extension: yaml
  21. # discovery:
  22. # namespace: 5c6b6687-ad43-450f-88b6-e704ff78d83f
  23. jackson:
  24. date-format: yyyy-MM-dd HH:mm:ss
  25. messages:
  26. basename: i18n/messages
  27. datasource:
  28. url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
  29. username: root
  30. password: appuser@anji
  31. # 禁用redis,使用ehcache
  32. # redis:
  33. # host: 10.108.26.197
  34. # port: 6379
  35. # password: appuser@anji
  36. # database: 1
  37. flyway:
  38. baseline-on-migrate: true
  39. #数据库连接配置
  40. url: ${spring.datasource.url}
  41. user: ${spring.datasource.username}
  42. password: ${spring.datasource.password}
  43. placeholder-replacement: false
  44. init-sqls:
  45. - CREATE DATABASE IF NOT EXISTS `aj_report` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
  46. generator:
  47. enabled: true
  48. workspace: /workspace/gaea
  49. templatePath: template
  50. mybatis-plus:
  51. configuration:
  52. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  53. call-setters-on-nulls: true
  54. mapperLocations:
  55. - classpath*:/mapper/**/*.xml
  56. - classpath*:/modeler-mybatis-mappings/**/*.xml
  57. management:
  58. endpoints:
  59. web:
  60. base-path: /
  61. logging:
  62. config: classpath:logback.xml
  63. file:
  64. dist-path: /app/disk/upload/
  65. white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi
  66. excelSuffix: .xlsx|.xls|.csv
  67. downloadPath: http://10.108.26.197:9095/file/download