-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
alertmanager.url can not be an alias setup in /etc/hosts #141
Comments
the alertmanager.url needs to be a public url. Meaning the url must be outside of the docker private network (it can not stay inside the private network of docker, using an alias will not work). Someone interested in this issue? |
As in #164, there's nothing to be done on the Alertmanager side here. |
@fuzzyami you need to include the protocol scheme in your url. |
@brancz - just figured it out. thanks though! |
I get the IP from docker inspect, replace it in a file and then run the prometheus container
and my prometheus.yml looks like
|
Here is part of my docker-compose.yml
If I change this:
into this:
It does not work anymore.
The text was updated successfully, but these errors were encountered: