-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
|
|
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image 기재하는 위치를 통일한 점이 좋네요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
좋습니다
Grafana
Loki
Promethesu
3종 세트를 추가하며 각 컨테이너에 대해restart
옵션을 주지 않아EC2
를 재부팅 하면 모니터링 컨테이너는 재실행 되지 않던 것을restart
옵션을 추가함으로써 작동하도록 변경하였습니다.또한
Grafana
컨테이너가 재부팅 되면 데이터가 사라져Contact Points
에Discord Webhook
설정 등이 사라지는 점을volume
을 추가함으로써 해결하였습니다.