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

⚡ set restart options on containers #146

Merged
merged 2 commits into from
Aug 2, 2024
Merged

⚡ set restart options on containers #146

merged 2 commits into from
Aug 2, 2024

Conversation

geoje
Copy link
Contributor

@geoje geoje commented Aug 2, 2024

  • Grafana Loki Promethesu 3종 세트를 추가하며 각 컨테이너에 대해 restart 옵션을 주지 않아 EC2 를 재부팅 하면 모니터링 컨테이너는 재실행 되지 않던 것을 restart 옵션을 추가함으로써 작동하도록 변경하였습니다.

  • 또한 Grafana 컨테이너가 재부팅 되면 데이터가 사라져 Contact PointsDiscord Webhook 설정 등이 사라지는 점을 volume 을 추가함으로써 해결하였습니다.

@geoje geoje requested review from hyxrxn and oshyun00 August 2, 2024 00:57
@geoje geoje added ✨ feature new feature BE Backend labels Aug 2, 2024
Copy link
Contributor

github-actions bot commented Aug 2, 2024

Overall Project 88.47% 🍏

There is no coverage information present for the Files changed

Copy link
Contributor

github-actions bot commented Aug 2, 2024

Overall Project 88.47% 🍏

There is no coverage information present for the Files changed

Copy link

@oshyun00 oshyun00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

restart 옵션 추가, volume 설정 추가 확인했습니다.

@@ -29,10 +30,12 @@ services:

loki:
image: grafana/loki
restart: unless-stopped
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@@ -84,7 +91,6 @@ services:
editable: false
EOF
/run.sh
image: grafana/grafana
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image 기재하는 위치를 통일한 점이 좋네요.

Copy link
Contributor

@hyxrxn hyxrxn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다

@geoje geoje merged commit 61c8a97 into be/dev Aug 2, 2024
1 check passed
@geoje geoje deleted the be/feat/145 branch August 2, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE Backend ✨ feature new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants