🐛 docker compose service name 에 '-' 들어가면 내부 통신 오류

This commit is contained in:
kimjaeyeol
2021-10-26 18:30:43 +09:00
parent ee31138c58
commit 6e9e985e27
3 changed files with 16 additions and 29 deletions

View File

@@ -15,6 +15,6 @@ eureka:
register-with-eureka: false
fetch-registry: false
service-url:
defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@localhost:8761/eureka
defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@${eureka.instance.hostname:localhost}:8761/eureka
server:
peer-node-read-timeout-ms: 10000