|
|
|
@ -1,24 +1,24 @@ |
|
|
|
|
#服务名称 |
|
|
|
|
#spring.application.name=dq-financial-crms |
|
|
|
|
##配置中心地址 |
|
|
|
|
#spring.cloud.nacos.config.server-addr=192.168.31.140:8848 |
|
|
|
|
#spring.cloud.nacos.config.file-extension=yml |
|
|
|
|
##redis配置 |
|
|
|
|
#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 |
|
|
|
|
spring.application.name=dq-financial-crms |
|
|
|
|
#配置中心地址 |
|
|
|
|
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 |
|
|
|
|
spring.cloud.nacos.config.file-extension=yml |
|
|
|
|
#redis配置 |
|
|
|
|
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 |
|
|
|
|
#本地测试环境 |
|
|
|
|
#spring.cloud.nacos.config.namespace=1520c5ea-5f15-4ac1-9eb1-d25924825b99 |
|
|
|
|
spring.cloud.nacos.config.namespace=1520c5ea-5f15-4ac1-9eb1-d25924825b99 |
|
|
|
|
|
|
|
|
|
#线上测试环境 |
|
|
|
|
#spring.cloud.nacos.config.namespace=5698e60a-9d0b-433f-a69f-12b0a2d23128 |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
#线上生产环境 |
|
|
|
|
#spring.cloud.nacos.config.namespace=6054a175-069a-492d-8679-820758416406 |
|
|
|
|
|
|
|
|
@ -29,30 +29,30 @@ ribbon.ConnectTimeout: 120000 |
|
|
|
|
|
|
|
|
|
# 正式环境(prod) |
|
|
|
|
#服务名称 |
|
|
|
|
spring.application.name=dq-financial-crms |
|
|
|
|
##配置中心地址 |
|
|
|
|
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
|
|
|
|
spring.cloud.nacos.config.namespace=25ce05e2-a0eb-4842-92e4-d8b550a489dd |
|
|
|
|
#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=dq123456 |
|
|
|
|
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=120.78.127.12:8848 |
|
|
|
|
#spring.cloud.nacos.config.namespace=25ce05e2-a0eb-4842-92e4-d8b550a489dd |
|
|
|
|
##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=dq123456 |
|
|
|
|
#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 |