Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch 노드 구성 3개 #19

Open
3 tasks
lima1016 opened this issue Feb 27, 2025 · 1 comment
Open
3 tasks

Elasticsearch 노드 구성 3개 #19

lima1016 opened this issue Feb 27, 2025 · 1 comment
Assignees
Labels
✨ Feature 기능 개발

Comments

@lima1016
Copy link
Collaborator

lima1016 commented Feb 27, 2025

어떤 기능인가요?

compose에 elasticsearch1, 2, 3을 다 쓰기 위해서 커넥션 변경
기존: Elasticsearch1에만 연결해놓고 사용하고있었다.
변경: Elasticsearch1, Elasticsearch2, Elasticsearch3 중에 살아있는 서버를 확인하고 해당 서버로 연결하여 데이터 보내기

작업 상세 내용

  • docker compose 수정 후 잘 뜨는지 확인
  • Elasticsearch 커넥션 수정 -> elasticsearch1이 죽으면, 2, 3으로 연결하게
  • Elasticsearch 한개씩 죽여보고 살아있는 다른 서버로 연결이 잘 되는지 확인

참고할만한 자료(선택)

@lima1016 lima1016 self-assigned this Feb 27, 2025
@lima1016 lima1016 added the ✨ Feature 기능 개발 label Feb 27, 2025
@lima1016
Copy link
Collaborator Author

lima1016 commented Feb 28, 2025

https://docs.docker.com/compose/how-tos/networking/#link-containers
alias 를 통해서 세 컨테이너가 모두 elasticsearch 같은 동일한 호스트네임으로 접근가능하도록
멘토님께서 보내주신 부분 다시 확인해보고 수정하자

lima1016 added a commit that referenced this issue Mar 4, 2025
[내용] - elasticsearch 연결 관련 로직 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant