Skip to content

Commit 6a2c2b0

Browse files
committed
Feat: Discovery Server 등록
1 parent 74df9c0 commit 6a2c2b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

DiscoveryServer/src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ eureka:
1212
defaultZone: ${EUREKA_SERVER_URL:http://localhost:8761/eureka/}
1313
register-with-eureka: false
1414
fetch-registry: false
15+
instance:
16+
prefer-ip-address: true
17+
instance-id: ${spring.application.name}:${server.port}

0 commit comments

Comments
 (0)