-
Notifications
You must be signed in to change notification settings - Fork 786
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
Send logs from Django, Celery & NodeJS containers to Cloudwatch. #2863
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.
LGTM 👍 . Need to test this on staging once @RishabhJain2018
docker-compose-production.yml
Outdated
driver: awslogs | ||
options: | ||
awslogs-region: ${AWS_DEFAULT_REGION} | ||
awslogs-group: "django_production" |
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.
I think we also need to add this option here: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-create-group
Same for all below options
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.
I've created those log groups on AWS, since it's not dynamic. We don't need the option here.
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.
But what if someone forks EvalAI and tries to deploy in the production setting or we change our AWS account then we will have to create them manually. What is the issue in adding this option?
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.
Right, I didn't realize that. I'll add the option.
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.
Thanks!
@RishabhJain2018 Let's get this merged? |
@deshraj @Ram81 @RishabhJain2018
https://docs.docker.com/config/containers/logging/awslogs/