Skip to content

Add docker checks to consul backend #424

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

threetee
Copy link

@threetee threetee commented Jun 1, 2016

Fixes #414. Also adds check string token substitutions for external host/port.

run within existing containers instead of from the Consul agent.

```bash
SERVICE_DOCKER_CHECK_SCRIPT=/path/to/container/check

Choose a reason for hiding this comment

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

My expectation as a user would be that these checks would be registered using SERVICE_CHECK_DOCKER, not SERVICE_DOCKER_CHECK_SCRIPT. Former seems more consistent with other SERVICE_CHECK_* options.

Copy link
Member

Choose a reason for hiding this comment

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

Can you update your pr to do this, @threetee ? This seems good otherwise.

Choose a reason for hiding this comment

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

@threetee any chance you can address this? Would really like to use this functionality :)

@djlindstr
Copy link

Duplicate of #332?

@aaronhurt
Copy link

I'd be willing to take this over and submit a new PR if @threetee is no longer available.

aaronhurt pushed a commit to myENA/registrator that referenced this pull request Jan 9, 2017
Slight rework taking into account comments in the thread
and rebased off current master to avoid merge conflicts.
aaronhurt pushed a commit to myENA/registrator that referenced this pull request Jan 9, 2017
Slight rework taking into account comments in the thread
and rebased off current master to avoid merge conflicts.
aaronhurt pushed a commit to myENA/registrator that referenced this pull request Jan 9, 2017
Slight rework taking into account comments in the thread
and rebased off current master to avoid merge conflicts.
@aaronhurt
Copy link

aaronhurt commented Jan 9, 2017

Okay I submitted #510 that includes this PR with a rebase from current master and a bit of touchup to the documentation. I also included credit to @threetee in the commit.

@aaronhurt
Copy link

I'm not usually one to claim other peoples PRs but I would really like this feature implemented and the original author does not look to be active based on his profile.

@promorphus
Copy link

Bump, I could really use this, and things seem to be stagnating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants