EUREKA_INSTANCE_PREFER_IP_ADDRESS: true

This commit is contained in:
Szakalakamaka
2020-10-15 09:38:15 +02:00
parent f2c076c1d1
commit 6a9ac3257b
8 changed files with 37 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
#environment:
eureka.client.service-url.defaultZone=http://netflix:eureka@localhost:8761/eureka/
eureka.client.service-url.defaultZone=http://netflix:eureka@eureka:8761/eureka/
server.port = 8097
spring.application.name = klaus
spring.cloud.discovery.enabled=true

View File

@@ -1,2 +1,2 @@
redis.host = localhost
redis.host = redis
redis.port = 6379

View File

@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2020-10-14T13:24:17+0200",
date = "2020-10-14T15:19:25+0200",
comments = "version: 1.3.1.Final, compiler: javac, environment: Java 14.0.1 (Oracle Corporation)"
)
@Component