|
|
@ -16,7 +16,7 @@ spring.resources.static-locations=classpath:/static/ |
|
|
|
#spring.cloud.zookeeper.discovery.preferIpAddress = true |
|
|
|
#spring.cloud.zookeeper.discovery.preferIpAddress = true |
|
|
|
|
|
|
|
|
|
|
|
#eureka \u5730\u5740 |
|
|
|
#eureka \u5730\u5740 |
|
|
|
eureka.client.service-url.defaultZone=http://eureka:8001/eureka/ |
|
|
|
eureka.client.service-url.defaultZone=http://${eureka-host}:8001/eureka/ |
|
|
|
eureka.instance.prefer-ip-address=true |
|
|
|
eureka.instance.prefer-ip-address=true |
|
|
|
|
|
|
|
|
|
|
|
#######################################redis-start################################################# |
|
|
|
#######################################redis-start################################################# |
|
|
@ -30,7 +30,7 @@ eureka.instance.prefer-ip-address=true |
|
|
|
##redis \u5355\u70B9\u73AF\u5883\u914D\u7F6E |
|
|
|
##redis \u5355\u70B9\u73AF\u5883\u914D\u7F6E |
|
|
|
#redis |
|
|
|
#redis |
|
|
|
#redis\u4E3B\u673A\u5730\u5740 |
|
|
|
#redis\u4E3B\u673A\u5730\u5740 |
|
|
|
spring.redis.host=172.20.0.1 |
|
|
|
spring.redis.host=${redis-host} |
|
|
|
#redis\u4E3B\u673A\u7AEF\u53E3 |
|
|
|
#redis\u4E3B\u673A\u7AEF\u53E3 |
|
|
|
spring.redis.port=6379 |
|
|
|
spring.redis.port=6379 |
|
|
|
#redis\u94FE\u63A5\u5BC6\u7801 |
|
|
|
#redis\u94FE\u63A5\u5BC6\u7801 |
|
|
|