2026年开年王炸项目"全球最懂机构行为的AI"
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.

44 lines
1.2 KiB

2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
  1. spring:
  2. config:
  3. activate:
  4. on-profile: dev
  5. datasource:
  6. url: jdbc:mysql://39.98.127.73:3306/deepchart?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  7. username: deepchart
  8. password: itk4paAC8H7CwKrm
  9. driver-class-name: com.mysql.cj.jdbc.Driver
  10. hikari:
  11. maximum-pool-size: 10
  12. minimum-idle: 5
  13. connection-timeout: 30000
  14. idle-timeout: 600000
  15. max-lifetime: 1800000
  16. pool-name: HikariPool-Test
  17. jpa:
  18. hibernate:
  19. ddl-auto: update #自动更新表结构
  20. show-sql: true #显示执行的SQL
  21. properties:
  22. hibernate:
  23. format_sql: true #格式化SQL输出
  24. dialect: org.hibernate.dialect.MySQL8Dialect #指定数据库方言
  25. jdbc:
  26. batch_size: 20 #批量操作大小
  27. order_inserts: true #排序插入语句
  28. order_updates: true #排序更新语句
  29. open-in-view: false #限制Session生命周期
  30. # 测试环境日志
  31. logging:
  32. level:
  33. com.example.demo: DEBUG
  34. org.hibernate.SQL: DEBUG
  35. org.hibernate.type: TRACE
  36. org.springframework.web: DEBUG
  37. file:
  38. name: logs/application-test.log
  39. # API签名配置
  40. api:
  41. sign:
  42. enabled: false # 开发环境可禁用