|
|
|
@ -1,25 +1,12 @@ |
|
|
|
|
#服务名称 |
|
|
|
|
spring.application.name=dq-financial-hrms |
|
|
|
|
#配置中心地址 |
|
|
|
|
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 |
|
|
|
|
spring.cloud.nacos.config.namespace=4c56c2f9-b6a3-4e7b-88b8-b1001e86dfd6 |
|
|
|
|
#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.cloud.nacos.config.server-addr=127.0.0.1:8848 |
|
|
|
|
spring.cloud.nacos.config.file-extension=yml |
|
|
|
|
#redis配置 |
|
|
|
|
spring.redis.host=127.0.0.1 |
|
|
|
|
spring.redis.port=6379 |
|
|
|
|
spring.redis.password=123456 |
|
|
|
|
spring.redis.password= |
|
|
|
|
spring.redis.database=0 |
|
|
|
|
spring.redis.timeout=30000 |
|
|
|
|
spring.redis.jedis.pool.max-active=8 |
|
|
|
@ -27,12 +14,20 @@ 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=5921ca23-3700-48ba-95fd-e078b53dfdce |
|
|
|
|
|
|
|
|
|
#线上测试环境 |
|
|
|
|
#spring.cloud.nacos.config.namespace=5698e60a-9d0b-433f-a69f-12b0a2d23128 |
|
|
|
|
|
|
|
|
|
#线上生产环境 |
|
|
|
|
spring.cloud.nacos.config.namespace=6054a175-069a-492d-8679-820758416406 |
|
|
|
|
|
|
|
|
|
#请求处理的超时时间 |
|
|
|
|
ribbon.ReadTimeout: 120000 |
|
|
|
|
#请求连接的超时时间 |
|
|
|
|
ribbon.ConnectTimeout: 30000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spring.servlet.multipart.max-file-size=10MB |
|
|
|
|
spring.servlet.multipart.max-request-size=10MB |
|
|
|
|
|
|
|
|
@ -54,48 +49,4 @@ spring.servlet.multipart.max-request-size=10MB |
|
|
|
|
# |
|
|
|
|
#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.servlet.multipart.max-file-size=10MB |
|
|
|
|
#spring.servlet.multipart.max-request-size=10MB |
|
|
|
|
|
|
|
|
|
# 测试环境(prod) |
|
|
|
|
#服务名称 |
|
|
|
|
#spring.application.name=dq-financial-hrms |
|
|
|
|
##配置中心地址 |
|
|
|
|
#spring.cloud.nacos.config.server-addr=127.0.0.1:8848 |
|
|
|
|
#spring.cloud.nacos.config.namespace=ed20f51f-6038-44e6-8e28-7ac72625e7b0 |
|
|
|
|
##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 |
|
|
|
|
#spring.cloud.nacos.config.ext-config[2].refresh=true |