springboot 配置yml文件

£神魔★判官ぃ 2022-02-12 15:59 465阅读 0赞

application.yml:

  1. server:
  2. port: 8080
  3. servlet.context-path: /
  4. spring:
  5. datasource:
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. url: jdbc:mysql://localhost:3306/db_film?useSSL=false&serverTimezone=GMT
  8. username: root
  9. password: '000'
  10. jpa:
  11. hibernate:
  12. ddl-auto: update
  13. naming:
  14. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  15. properties:
  16. hibernate:
  17. dialect: org.hibernate.dialect.MySQL5Dialect
  18. show-sql: true
  19. open-in-view: false
  20. thymeleaf:
  21. cache: false
  22. servlet:
  23. multipart:
  24. maxFileSize: 100MB
  25. maxRequestSize: 1000MB
  26. imageFilePath: D://eclipse-jee-photon-R-win32-x86_64/projects/Film/src/main/webapp/static/filmImages/

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lvbmdidXRpbmd4aWRl_size_16_color_FFFFFF_t_70

发表评论

表情:
评论列表 (有 0 条评论,465人围观)

还没有评论,来说两句吧...

相关阅读