Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
36efafc2
Commit
36efafc2
authored
Oct 14, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
837bc339
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
15 deletions
+38
-15
application.properties
...boot-system-fas/src/main/resources/application.properties
+7
-6
application-dev.properties
...atentdanger/src/main/resources/application-dev.properties
+31
-9
No files found.
amos-boot-system-fas/src/main/resources/application.properties
View file @
36efafc2
...
...
@@ -109,11 +109,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
=
always
management.endpoints.web.exposure.include
=
*
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
spring.boot.admin.client.enabled
=
true
spring.boot.admin.client.instance.metadata.user.name
=
${spring.security.user.name}
spring.boot.admin.client.instance.metadata.user.password
=
${spring.security.user.password}
spring.boot.admin.client.username
=
admin
spring.boot.admin.client.password
=
a1234560
management.security.enabled
=
false
management.endpoints.web.exposure.include
=
*
amos-boot-system-latentdanger/src/main/resources/application-dev.properties
View file @
36efafc2
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.211:10001/eureka/
eureka.client.registry-fetch-interval-seconds
=
5
eureka.instance.prefer-ip-address
=
true
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
...
...
@@ -41,16 +39,40 @@ amos.system.user.product=STUDIO_APP_WEB
#redis 配置
#redis
基础
配置
spring.redis.database
=
1
# 连接超时时长ms
spring.redis.timeout
=
10000
spring.redis.password
=
yeejoin@2020
# 连接池最大连接数(使用负值表示没有限制)
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
#集群配置
## spring.redis.cluster.nodes=172.16.3.41:6381,172.16.3.41:6002
## spring.redis.cluster.max-redirects=3
## spring.redis.cluster.scan-interval=1000
## spring.redis.cluster.read-mode=SLAVE
## spring.redis.cluster.retry-attempts=3
## spring.redis.cluster.failed-attempts=3
## spring.redis.cluster.slave-connection-pool-size=64
## spring.redis.cluster.master-connection-pool-size=64
## spring.redis.cluster.retry-interval=1500
#单机集群判断 cluster集群 single单机
spring.redis.mode
=
single
#spring.redis.mode=cluster
#redis 单机配置
spring.redis.host
=
172.16.10.211
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/5 * * * ?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment