|
|
|
@ -1,32 +1,32 @@ |
|
|
|
|
# 开发和测试环境(dev) |
|
|
|
|
#服务名称 |
|
|
|
|
spring.application.name=dq-financial-crms |
|
|
|
|
#配置中心地址 |
|
|
|
|
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 |
|
|
|
|
spring.cloud.nacos.config.namespace=1f69d47e-0aeb-4a1e-8ab4-0e84dfb86354 |
|
|
|
|
#spring.cloud.nacos.config.group=prod |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[0].group=dev |
|
|
|
|
spring.cloud.nacos.config.ext-config[0].refresh=true |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[1].group=dev |
|
|
|
|
spring.cloud.nacos.config.ext-config[1].refresh=true |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[2].group=dev |
|
|
|
|
spring.cloud.nacos.config.ext-config[2].refresh=true |
|
|
|
|
|
|
|
|
|
spring.redis.host=127.0.0.1 |
|
|
|
|
spring.redis.port=6379 |
|
|
|
|
spring.redis.password=123456 |
|
|
|
|
spring.redis.database=0 |
|
|
|
|
spring.redis.timeout=30000 |
|
|
|
|
spring.redis.jedis.pool.max-active=8 |
|
|
|
|
spring.redis.jedis.pool.max-wait=-1 |
|
|
|
|
spring.redis.jedis.pool.max-idle=8 |
|
|
|
|
spring.redis.jedis.pool.min-idle=0 |
|
|
|
|
#spring.application.name=dq-financial-crms |
|
|
|
|
##配置中心地址 |
|
|
|
|
#spring.cloud.nacos.config.server-addr=192.168.31.140:8848 |
|
|
|
|
#spring.cloud.nacos.config.namespace=1f69d47e-0aeb-4a1e-8ab4-0e84dfb86354 |
|
|
|
|
##spring.cloud.nacos.config.group=prod |
|
|
|
|
# |
|
|
|
|
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
|
|
|
|
#spring.cloud.nacos.config.ext-config[0].group=dev |
|
|
|
|
#spring.cloud.nacos.config.ext-config[0].refresh=true |
|
|
|
|
# |
|
|
|
|
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
|
|
|
|
#spring.cloud.nacos.config.ext-config[1].group=dev |
|
|
|
|
#spring.cloud.nacos.config.ext-config[1].refresh=true |
|
|
|
|
# |
|
|
|
|
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
|
|
|
|
#spring.cloud.nacos.config.ext-config[2].group=dev |
|
|
|
|
#spring.cloud.nacos.config.ext-config[2].refresh=true |
|
|
|
|
# |
|
|
|
|
#spring.redis.host=127.0.0.1 |
|
|
|
|
#spring.redis.port=6379 |
|
|
|
|
#spring.redis.password=123456 |
|
|
|
|
#spring.redis.database=0 |
|
|
|
|
#spring.redis.timeout=30000 |
|
|
|
|
#spring.redis.jedis.pool.max-active=8 |
|
|
|
|
#spring.redis.jedis.pool.max-wait=-1 |
|
|
|
|
#spring.redis.jedis.pool.max-idle=8 |
|
|
|
|
#spring.redis.jedis.pool.min-idle=0 |
|
|
|
|
|
|
|
|
|
#请求处理的超时时间 |
|
|
|
|
ribbon.ReadTimeout: 120000 |
|
|
|
@ -62,3 +62,34 @@ ribbon.ConnectTimeout: 120000 |
|
|
|
|
#spring.redis.jedis.pool.max-wait=-1 |
|
|
|
|
#spring.redis.jedis.pool.max-idle=8 |
|
|
|
|
#spring.redis.jedis.pool.min-idle=0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 正式环境(prod) |
|
|
|
|
#服务名称 |
|
|
|
|
spring.application.name=dq-financial-crms |
|
|
|
|
#配置中心地址 |
|
|
|
|
spring.cloud.nacos.config.server-addr=127.0.0.1:8848 |
|
|
|
|
spring.cloud.nacos.config.namespace=1912aa66-6e18-4680-8943-5b8fae71414c |
|
|
|
|
#spring.cloud.nacos.config.group=prod |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[0].group=prod |
|
|
|
|
spring.cloud.nacos.config.ext-config[0].refresh=true |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[1].group=prod |
|
|
|
|
spring.cloud.nacos.config.ext-config[1].refresh=true |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
|
|
|
|
spring.cloud.nacos.config.ext-config[2].group=prod |
|
|
|
|
spring.cloud.nacos.config.ext-config[2].refresh=true |
|
|
|
|
|
|
|
|
|
spring.redis.host=127.0.0.1 |
|
|
|
|
spring.redis.port=6379 |
|
|
|
|
spring.redis.password= |
|
|
|
|
spring.redis.database=0 |
|
|
|
|
spring.redis.timeout=30000 |
|
|
|
|
spring.redis.jedis.pool.max-active=8 |
|
|
|
|
spring.redis.jedis.pool.max-wait=-1 |
|
|
|
|
spring.redis.jedis.pool.max-idle=8 |
|
|
|
|
spring.redis.jedis.pool.min-idle=0 |