🐛 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

@@ -12,7 +12,7 @@ eureka:
register-with-eureka: true # eureka 서버에 등록
fetch-registry: true # 외부 검색 가능
service-url:
defaultZone: http://admin:admin@localhost:8761/eureka
defaultZone: http://admin:admin@${eureka.instance.hostname:localhost}:8761/eureka
# file attach location - messages{lang}.properties 도 이 경로에 위치한다.
file: