1234567891011121314151617181920212223242526272829303132333435363738394041 |
- server:
- port: 8081
- netty:
- port: 8888
- spring:
- application:
- name: im-server
- # MySQL配置
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://47.110.46.22:3306/IM?useSSL=false&useServerTime=UTC
- username: root
- password: Fengjaijia0610
- # JPA配置
- jpa:
- database-platform: org.hibernate.dialect.MySQL8Dialect
- show-sql: true
- hibernate:
- ddl-auto: update
- properties:
- hibernate:
- format_sql: true
- # MongoDB配置
- data:
- mongodb:
- host: 47.110.46.22
- port: 27017
- database: im_message_db
- redis:
- host: 47.110.46.22
- port: 6379
- database: 0
- aliyun:
- oss:
- endpoint: https://oss-cn-beijing.aliyuncs.com
- accessKeyId: LTAI5tH3XWv25v5LyeapQq1K
- accessKeySecret: pEP2P1ezDkPZJwuMFkdrqVNRTlATok
- bucketName: wangyongchun
|