Commit 3120e68a authored by tangwei's avatar tangwei

修改配置文件

parent b64120d8
......@@ -27,4 +27,12 @@ redis.cache.failure.time=10800
knife4j.enable=true
knife4j.basic.enable=true
knife4j.basic.username= admin
knife4j.basic.password= yeejoin@2020
\ No newline at end of file
knife4j.basic.password= yeejoin@2020
management.security.enabled=true
endpoints.enabled=false
endpoints.health.enabled=true
management.endpoint.health.show-details=never
spring.security.user.name=admin
spring.security.user.password=a1234560
......@@ -69,4 +69,11 @@ fire-rescue=1432549862557130753
knife4j.enable=true
knife4j.basic.enable=true
knife4j.basic.username= admin
knife4j.basic.password= yeejoin@2020
\ No newline at end of file
knife4j.basic.password= yeejoin@2020
management.security.enabled=true
endpoints.enabled=false
endpoints.health.enabled=true
management.endpoint.health.show-details=never
spring.security.user.name=admin
spring.security.user.password=a1234560
......@@ -58,8 +58,8 @@ redis.cache.failure.time=10800
## eureka properties:
eureka.client.registry-fetch-interval-seconds=50
eureka.instance.prefer-ip-address=true
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
#management.endpoint.health.show-details=always
#management.endpoints.web.exposure.include=*
eureka.instance.health-check-url-path=/actuator/health
eureka.instance.lease-expiration-duration-in-seconds=10
eureka.instance.lease-renewal-interval-in-seconds=5
......@@ -73,4 +73,11 @@ eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}
knife4j.enable=true
knife4j.basic.enable=true
knife4j.basic.username= admin
knife4j.basic.password= yeejoin@2020
\ No newline at end of file
knife4j.basic.password= yeejoin@2020
management.security.enabled=true
endpoints.enabled=false
endpoints.health.enabled=true
management.endpoint.health.show-details=never
spring.security.user.name=admin
spring.security.user.password=a1234560
......@@ -42,16 +42,34 @@ amos.system.user.product=STUDIO_APP_WEB
#redis 配置
spring.redis.database=1
spring.redis.host=172.16.10.211
#redis 基础配置
spring.redis.database=0
# 连接超时时长ms
spring.redis.timeout=10000
spring.redis.password=
# 连接池最大连接数(使用负值表示没有限制)
spring.redis.lettuce.pool.max-active=3
# 连接池中的最小空闲连接
spring.redis.lettuce.pool.min-idle=2
# 连接池中的最大空闲连接
spring.redis.lettuce.pool.max-idle=3
# 连接池最大阻塞等待时间(使用负值表示没有限制)
spring.redis.lettuce.pool.max-wait=-1
#在关闭客户端连接之前等待任务处理完成的最长时间,在这之后,无论任务是否执行完成,都会被执行器关闭,默认100ms
spring.redis.lettuce.shutdown-timeout=100
#单机集群判断 cluster集群 single单机
spring.redis.mode=single
#redis 单机配置
spring.redis.host=172.16.11.20
spring.redis.port=6379
spring.redis.password=yeejoin@2020
spring.redis.jedis.pool.max-active=200
spring.redis.jedis.pool.max-wait=-1
spring.redis.jedis.pool.max-idle=10
spring.redis.jedis.pool.min-idle=0
spring.redis.timeout=1000
#巡检计划定时任务
jobs.cron = 0 0/1 22-23 * * ?
......
......@@ -65,6 +65,12 @@ knife4j.basic.enable=true
knife4j.basic.username= admin
knife4j.basic.password= yeejoin@2020
management.security.enabled=true
endpoints.enabled=false
endpoints.health.enabled=true
management.endpoint.health.show-details=never
spring.security.user.name=admin
spring.security.user.password=a1234560
equipment.hierarchy=1,2,4,6
\ No newline at end of file
......@@ -64,8 +64,8 @@ redis.cache.failure.time=10800
## eureka properties:
eureka.client.registry-fetch-interval-seconds=5
eureka.instance.prefer-ip-address=true
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
#management.endpoint.health.show-details=always
#management.endpoints.web.exposure.include=*
eureka.instance.health-check-url-path=/actuator/health
eureka.instance.lease-expiration-duration-in-seconds=10
eureka.instance.lease-renewal-interval-in-seconds=5
......@@ -79,4 +79,11 @@ eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}
knife4j.enable=true
knife4j.basic.enable=true
knife4j.basic.username= admin
knife4j.basic.password= yeejoin@2020
\ No newline at end of file
knife4j.basic.password= yeejoin@2020
management.security.enabled=true
endpoints.enabled=false
endpoints.health.enabled=true
management.endpoint.health.show-details=never
spring.security.user.name=admin
spring.security.user.password=a1234560
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment