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

Disable fabio health check in consul #99

Closed
voanhduy1512 opened this issue May 13, 2016 · 4 comments
Closed

Disable fabio health check in consul #99

voanhduy1512 opened this issue May 13, 2016 · 4 comments
Milestone

Comments

@voanhduy1512
Copy link

Hi,

When start fabio, it will try to register a health check for itself to consul. In my case, somehow i don't want consul to have a health check for fabio because i run fabio outside of the cluster and it is being monitor by other tool.

Do we have any way to disable it or i will try to send a PR for this.

@magiconair
Copy link
Contributor

magiconair commented May 13, 2016

Not right now but I can add it. You only want the health check disabled or fabio not registered at all?

@voanhduy1512
Copy link
Author

Thank you for your quick respond. I want fabio not registered to consul at all

@magiconair
Copy link
Contributor

ok. I'll add it. Not difficult.

magiconair added a commit that referenced this issue May 15, 2016
The new config option 'registry.consul.register.enabled'
allows to control whether or not fabio will register
itself in consul.
@magiconair
Copy link
Contributor

That should do the trick. Can you test it, please?

magiconair added a commit that referenced this issue May 25, 2016
The new config option 'registry.consul.register.enabled'
allows to control whether or not fabio will register
itself in consul.
@magiconair magiconair added this to the 1.1.4 milestone May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants