|
@@ -0,0 +1,47 @@
|
|
|
+spring:
|
|
|
+ datasource:
|
|
|
+ type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
|
|
|
+ driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
+ url: jdbc:mysql://rm-wz90w10465iiwwv098o.mysql.rds.aliyuncs.com:3306/fd_smart_site?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
|
|
+ username: root
|
|
|
+ password: D2719bd0cae1a005
|
|
|
+ hikari:
|
|
|
+ connection-timeout: 30000 # 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 默认:30秒
|
|
|
+ minimum-idle: 5 # 最小连接数
|
|
|
+ maximum-pool-size: 20 # 最大连接数
|
|
|
+ auto-commit: true # 事务自动提交
|
|
|
+ idle-timeout: 600000 # 连接超时的最大时长(毫秒),超时则被释放(retired),默认:10分钟
|
|
|
+ pool-name: DateSourceHikariCP # 连接池名字
|
|
|
+ max-lifetime: 1800000 # 连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟 1800000ms
|
|
|
+ connection-test-query: SELECT 1 # 连接测试语句
|
|
|
+ redis:
|
|
|
+ host: r-wz9owsphxqwi4ztqlfpd.redis.rds.aliyuncs.com #官网正式环境
|
|
|
+ port: 6379
|
|
|
+ timeout: 6000ms
|
|
|
+ password: 3oo19bgh0cae2406&
|
|
|
+ jedis:
|
|
|
+ pool:
|
|
|
+ max-active: 10 #连接池最大连接数(使用负值表示没有限制)
|
|
|
+ max-idle: 10 # 连接池中的最大空闲连接
|
|
|
+ min-idle: 5 # 连接池中的最小空闲连接
|
|
|
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ lettuce:
|
|
|
+ shutdown-timeout: 0ms
|
|
|
+
|
|
|
+4dkk:
|
|
|
+ fdService:
|
|
|
+ #官网生产环境:https://www.4dkankan.com http://test.4dkankan.com
|
|
|
+ basePath: http://www.4dkankan.com
|
|
|
+ #basePath: http://192.168.0.38/4dkankan_v2
|
|
|
+ laserService:
|
|
|
+ #深时(激光)地址 生产环境:https://laser.4dkankan.com/
|
|
|
+ basePath: http://laser.4dkankan.com/backend
|
|
|
+ bimService:
|
|
|
+ #bim 服务
|
|
|
+ basePath: http://bim.4dkankan.com
|
|
|
+logging:
|
|
|
+ config: classpath:logback-spring.xml
|
|
|
+ file:
|
|
|
+ path: /home/backend/smart-site/logs
|
|
|
+ level:
|
|
|
+ com.fdkankan: DEBUG
|