|
|
@@ -1,54 +0,0 @@
|
|
|
-spring:
|
|
|
- datasource:
|
|
|
- type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
|
|
|
- driver-class-name: com.mysql.jdbc.Driver # mysql驱动
|
|
|
- url: jdbc:mysql://120.24.144.164:3306/4dkankan_takelook?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
|
|
- username: root
|
|
|
- password: 4Dage@4Dage#@168
|
|
|
- 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: 120.25.146.52
|
|
|
- port: 6379
|
|
|
- timeout: 6000ms
|
|
|
- password:
|
|
|
- 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://test.4dkankan.com
|
|
|
- #port: 80
|
|
|
- basePath: http://test.4dkankan.com
|
|
|
- port: 80
|
|
|
-
|
|
|
-wx:
|
|
|
- #要打开的小程序版本。正式版为 release,体验版为 trial,开发版为 develop
|
|
|
- env_version: trial
|
|
|
- path: pages/sync/room/room
|
|
|
-
|
|
|
-
|
|
|
-upload:
|
|
|
- type: oss
|
|
|
- query-path: https://4dkk.4dage.com/
|
|
|
-oss:
|
|
|
- #point: http://oss-cn-shenzhen-internal.aliyuncs.com
|
|
|
- point: http://oss-cn-shenzhen-internal.aliyuncs.com
|
|
|
- key: LTAIUrvuHqj8pvry
|
|
|
- secrey: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
|
|
|
- bucket: 4dkankan
|
|
|
- small: ?x-oss-process=image/resize,m_fill,h_%s,w_%s
|