12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- server:
- port: 8081
- netty:
- port: 8888
- websocket:
- port: 9099
- 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: localhost
- port: 27017
- database: im_db
- redis:
- host: 47.110.46.22
- port: 6379
- database: 0
- aliyun:
- oss:
- endpoint: https://oss-cn-beijing.aliyuncs.com
- accessKeyId: LTAI5tH9VHPZwGJu4UX3hrL5
- accessKeySecret: mbsutFJYLkzosvvKNr0DD28XSg4mqA
- bucketName: fjj1
|