Blame view

application-dev.properties 2.14 KB
涂亚平 committed
1 2 3
# 本地环境配置

# 数据源配置
4
spring.datasource.url=jdbc:mysql://47.97.19.66:3306/subsidy_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
5
#spring.datasource.url=jdbc:mysql://rm-uf6rab73w0qg843opxo.mysql.rds.aliyuncs.com:3306/subsidy_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
涂亚平 committed
6 7
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
涂亚平 committed
8 9
#spring.datasource.username=ykadmin_new
#spring.datasource.password=youkedb608@good
涂亚平 committed
10 11 12 13 14
spring.datasource.username=devloper
spring.datasource.password=dev@1553$

spring.datasource.druid.initialSize=5
spring.datasource.druid.minIdle=5
涂亚平 committed
15
spring.datasource.druid.maxActive=200
涂亚平 committed
16 17 18 19 20 21 22 23 24 25 26 27
spring.datasource.druid.maxWait=60000
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
spring.datasource.druid.minEvictableIdleTimeMillis=300000
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
spring.datasource.druid.testWhileIdle=true
spring.datasource.druid.testOnBorrow=false
spring.datasource.druid.testOnReturn=false
spring.datasource.druid.poolPreparedStatements=true
spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20
spring.datasource.druid.useGlobalDataSourceStat=true

# 控制台日志打印
涂亚平 committed
28 29
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

30 31
#spring.redis.host=r-uf6meywj6ysuehg148pd.redis.rds.aliyuncs.com
#spring.redis.password=r-uf6meywj6ysuehg148:Ykhl@208
涂亚平 committed
32 33 34
#spring.redis.port=6379
#spring.redis.lettuce.pool.max-idle=16
#spring.redis.lettuce.pool.max-active=32
35 36
#spring.redis.lettuce.pool.min-idle=8

涂亚平 committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#spring.application.name=spring-boot-mongodb
## mongodb
##spring.data.mongodb.uri=mongodb://47.97.19.66:27017/subsidy
#spring.data.mongodb.username=root
#spring.data.mongodb.password=123456
##spring.data.mongodb.authentication-database=subsidy
#spring.data.mongodb.database=subsidy
#spring.data.mongodb.host=47.97.19.66
#spring.data.mongodb.port=27017

spring.redis.host=47.97.19.66
spring.redis.password=Ykhl@208
spring.redis.port=6389
spring.redis.lettuce.pool.max-idle=16
spring.redis.lettuce.pool.max-active=32
spring.redis.lettuce.pool.min-idle=8