Commit df846deb by lenx065@gmail.com

修改配置

parent 0cf8c609
...@@ -130,12 +130,5 @@ ...@@ -130,12 +130,5 @@
<artifactId>live20161101</artifactId> <artifactId>live20161101</artifactId>
<version>1.0.1</version> <version>1.0.1</version>
</dependency> </dependency>
<!-- openFeign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>3.0.3</version>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
spring: spring:
datasource: datasource:
url: jdbc:mysql://43.129.13.158:3306/sequoia_score?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://101.32.4.34:3306/sequoia_score?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root username: root
password: TwQqm&grd$6HWBQ4 password: c8e66d96bbbe0072
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
hikari: hikari:
auto-commit: true # 此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
idle-timeout: 10000 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 600000 # 空闲连接存活最大时间,默认600000(10分钟)
pool-name: DatebookHikariCP pool-name: DatebookHikariCP
max-lifetime: 1800000 # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 600000 # 此属性控制池中连接的最长生命周期
connection-timeout: 30000 # 数据库连接超时时间,默认30秒,即30000 connection-timeout: 30000 # 数据库连接超时时间,默认30秒,即30000
maximum-pool-size: 30 maximum-pool-size: 30
redis: redis:
database: 5 database: 5
host: 43.129.13.158 host: 101.32.4.34
password: LEnGsVyvwzNTCkz5 password: asfkifmei23
port: 6379 port: 6379
timeout: 30000ms timeout: 20s
lettuce: lettuce:
pool: pool:
max-active: 8 max-active: 8
...@@ -31,11 +30,12 @@ mybatis-plus: ...@@ -31,11 +30,12 @@ mybatis-plus:
db-config: db-config:
db-type: mysql db-type: mysql
# 自定义文件上传路径
web: web:
upload-path: /home/live_service/img/ upload-path: /home/live_service/img/
surroundings: pro surroundings:
logging: logging:
level: level:
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator: info org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator: trace
\ No newline at end of file \ No newline at end of file
spring: spring:
profiles: profiles:
active: test active: dev
jackson: jackson:
serialization: serialization:
FAIL_ON_EMPTY_BEANS: false FAIL_ON_EMPTY_BEANS: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment