|
|
|
@ -1,18 +1,18 @@ |
|
|
|
|
#服务名称 |
|
|
|
|
#spring.application.name=dq-financial-hrms-auth |
|
|
|
|
##配置中心地址 |
|
|
|
|
#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= |
|
|
|
|
#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-hrms-auth |
|
|
|
|
#配置中心地址 |
|
|
|
|
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= |
|
|
|
|
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 |
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
#spring.cloud.nacos.config.namespace=5698e60a-9d0b-433f-a69f-12b0a2d23128 |
|
|
|
|
|
|
|
|
|
#线上生产环境 |
|
|
|
|
#spring.cloud.nacos.config.namespace=6054a175-069a-492d-8679-820758416406 |
|
|
|
|
spring.cloud.nacos.config.namespace=6054a175-069a-492d-8679-820758416406 |
|
|
|
|
|
|
|
|
|
#请求处理的超时时间 |
|
|
|
|
ribbon.ReadTimeout: 120000 |
|
|
|
@ -30,30 +30,30 @@ ribbon.ConnectTimeout: 30000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#正式环境(prod) |
|
|
|
|
spring.application.name=dq-financial-hrms-auth |
|
|
|
|
|
|
|
|
|
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
|
|
|
|
spring.cloud.nacos.config.namespace=b590c830-7ada-44b7-968f-e8d0c81990c4 |
|
|
|
|
#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-hrms-auth |
|
|
|
|
# |
|
|
|
|
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
|
|
|
|
#spring.cloud.nacos.config.namespace=b590c830-7ada-44b7-968f-e8d0c81990c4 |
|
|
|
|
##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 |