|
|
@@ -7,11 +7,11 @@ eureka.instance.lease-expiration-duration-in-seconds=30
|
|
7
|
7
|
|
|
8
|
8
|
#数据库驱动
|
|
9
|
9
|
spring.datasource.driverClassName = com.mysql.jdbc.Driver
|
|
10
|
|
-spring.datasource.url = jdbc:mysql://localhost:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
10
|
+spring.datasource.url = jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
11
|
11
|
spring.datasource.username = root
|
|
12
|
12
|
spring.datasource.password = 123456
|
|
13
|
13
|
|
|
14
|
|
-eureka.client.serviceUrl.defaultZone=http://localhost:9001/eureka/
|
|
|
14
|
+eureka.client.serviceUrl.defaultZone=http://172.16.0.46:9511/eureka/
|
|
15
|
15
|
|
|
16
|
16
|
spring.application.name=depot-web
|
|
17
|
17
|
|
|
|
@@ -22,11 +22,11 @@ spring.application.name=depot-web
|
|
22
|
22
|
# Redis数据库索引(默认为0)
|
|
23
|
23
|
spring.redis.database=0
|
|
24
|
24
|
# Redis服务器地址
|
|
25
|
|
-spring.redis.host=localhost
|
|
|
25
|
+spring.redis.host=172.16.0.46
|
|
26
|
26
|
# Redis服务器连接端口
|
|
27
|
27
|
spring.redis.port=6379
|
|
28
|
28
|
# Redis服务器连接密码(默认为空)
|
|
29
|
|
-spring.redis.password=
|
|
|
29
|
+spring.redis.password=123456
|
|
30
|
30
|
# 连接池最大连接数(使用负值表示没有限制)
|
|
31
|
31
|
spring.redis.jedis.pool.max-active=8
|
|
32
|
32
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|