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

--alert-addr doesn't work #254

Open
dbresson opened this issue Mar 8, 2019 · 4 comments
Open

--alert-addr doesn't work #254

dbresson opened this issue Mar 8, 2019 · 4 comments

Comments

@dbresson
Copy link
Contributor

dbresson commented Mar 8, 2019

When specifying --alert-addr, usage is printed.

Applies to 0.5.0

@dbresson
Copy link
Contributor Author

dbresson commented Mar 8, 2019

Hmm, when I download the source and try with either master or tag v0.5.0 it works fine.
The following does not though.
docker run --rm -it acaleph/consul-alerts:latest start --alert-addr=localhost:9000

@dbresson
Copy link
Contributor Author

dbresson commented Mar 8, 2019

oh, ick. I see the problem. The entrypoint for the docker image runs --alert-addr

@fusiondog
Copy link
Collaborator

fusiondog commented Mar 8, 2019 via email

@dbresson
Copy link
Contributor Author

dbresson commented Mar 8, 2019

I don't think the docker image should be that way, but I don't see a way to change it without breaking backwards compatibility, and you guys only publish a "latest" tag.

I was able to work around it by overriding the entrypoint once I knew that was the issue, so an update to the documentation is probably sufficient.

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

2 participants