application-dev.yml 885 B

1234567891011121314151617181920212223242526272829303132333435
  1. server:
  2. port: 8096
  3. additionalPorts: 8096
  4. listen:
  5. port: 8096
  6. spring:
  7. application:
  8. name: pigfarm-local-device
  9. #------DataSource-----
  10. datasource:
  11. url: jdbc:mysql://192.168.1.7:3306/huimv-farm-device?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  12. username: root
  13. password: hm123456
  14. driver-class-name: com.mysql.cj.jdbc.Driver
  15. # driver-class-name: com.mysql.jdbc.Driver
  16. jpa:
  17. hibernate:
  18. ddl-auto: update
  19. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  20. # Socket配置
  21. socket:
  22. # 监听端口 9001
  23. listen:
  24. #ip: 192.168.16.3
  25. ip: 192.168.1.49
  26. port: 10020
  27. # 线程池 - 保持线程数 20
  28. #pool-keep: 20
  29. # 线程池 - 核心线程数 10
  30. #pool-core: 10
  31. # 线程池 - 最大线程数 20
  32. #pool-max: 30
  33. # 线程队列容量 10
  34. #pool-queue-init: 10