From fb6a6507e946b34588203c42b938ac01acec55ea Mon Sep 17 00:00:00 2001 From: Fagor Date: Mon, 4 Dec 2023 11:30:14 +0700 Subject: [PATCH] add discovery client default zone --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 500e030..d10ec93 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,7 +10,7 @@ spring.flyway.locations=classpath:db/migration spring.jpa.hibernate.ddl-auto=validate -eureka.client.serviceUrl.defaultZone=http://localhost:8181/eureka +eureka.client.serviceUrl.defaultZone=${SPRING_DISCOVERY_DEFAULT_ZONE:http://localhost:8181/eureka} spring.application.name=user-service server.port=0