Skip to content

Commit

Permalink
add discovery client default zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Fagorym committed Dec 4, 2023
1 parent 0600bba commit fb6a650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb6a650

Please sign in to comment.