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

MongoDB Health Check #105

Closed
MattReimer opened this issue Jul 26, 2016 · 2 comments
Closed

MongoDB Health Check #105

MattReimer opened this issue Jul 26, 2016 · 2 comments

Comments

@MattReimer
Copy link

For context we're using this container (3.2.8) with amazon ECS and Elastic Load Balancer.

The Load Balancer health check is really simplistic and only offers a ping on HTTP, HTTPS, TCP or SSL.

Pinging port 27017 doesn't seem to return anything so I'm a bit stumped on how I can get the mongo container to pass the health check. Is there any simple way to ping the container and get back something if the DB is up?

@ozlerhakan
Copy link
Contributor

I am not sure but maybe you cannot access the running instance remotely. Have you add a new inbound tcp rule 27017 in your security group of your docker host running on EC2 @MattReimer ?

@tianon
Copy link
Member

tianon commented Dec 20, 2017

Closing stale issue.

In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow. Thanks!

@tianon tianon closed this as completed Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants