Commit b4415a8a authored by 李成龙's avatar 李成龙

给配置文件增加redis配置,和优化pom文件

parent cab63ee2
target/ target/
/.idea/ /.idea/
*.iml *.iml
.settings/
.classpath
.project
\ No newline at end of file
#DB properties: #DB properties:
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://172.16.10\ spring.datasource.url=jdbc:mysql://172.16.10.66:3306/amos_demo?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
.66:3306/amos_demo?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=root_123 spring.datasource.password=root_123
...@@ -9,3 +8,14 @@ spring.datasource.password=root_123 ...@@ -9,3 +8,14 @@ spring.datasource.password=root_123
eureka.instance.hostname=172.16.10.72 eureka.instance.hostname=172.16.10.72
eureka.instance.prefer-ip-address=true eureka.instance.prefer-ip-address=true
eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:10001/eureka/ eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:10001/eureka/
#Amos平台安全redis配置
spring.redis.database=0
spring.redis.host=172.16.10.85
spring.redis.port=6379
spring.redis.password=amos2019Redis
spring.redis.lettuce.pool.max-active=200
spring.redis.lettuce.pool.max-wait=-1
spring.redis.lettuce.pool.max-idle=10
spring.redis.lettuce.pool.min-idle=0
spring.redis.expire.time=300
\ No newline at end of file
This diff is collapsed.
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