application.yml 854 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. server:
  2. port: 8081
  3. netty:
  4. port: 8888
  5. websocket:
  6. port: 9099
  7. spring:
  8. application:
  9. name: im-server
  10. # MySQL配置
  11. datasource:
  12. driver-class-name: com.mysql.cj.jdbc.Driver
  13. url: jdbc:mysql://47.110.46.22:3306/IM?useSSL=false&useServerTime=UTC
  14. username: root
  15. password: Fengjaijia0610
  16. # JPA配置
  17. jpa:
  18. database-platform: org.hibernate.dialect.MySQL8Dialect
  19. show-sql: true
  20. hibernate:
  21. ddl-auto: update
  22. properties:
  23. hibernate:
  24. format_sql: true
  25. # MongoDB配置
  26. data:
  27. mongodb:
  28. host: localhost
  29. port: 27017
  30. database: im_db
  31. redis:
  32. host: 47.110.46.22
  33. port: 6379
  34. database: 0
  35. aliyun:
  36. oss:
  37. endpoint: https://oss-cn-beijing.aliyuncs.com
  38. accessKeyId: LTAI5tH9VHPZwGJu4UX3hrL5
  39. accessKeySecret: mbsutFJYLkzosvvKNr0DD28XSg4mqA
  40. bucketName: fjj1