EnigmaCurry / d.rymcg.tech

A collection of self-hosted docker-compose projects with Traefik reverse proxy, integrated auth, and administrative Makefiles for easy maintainance
MIT License
46 stars 9 forks source link

Prometheus: adding instance and mtls #234

Closed mcmikemn closed 3 weeks ago

mcmikemn commented 1 month ago

I'm working on adding instance and mtls to Prometheus.

In my local .env, Prometheus was working in my VPN. The only things I changed are commited here, but now I get "Bad Gateway". I'm testing with Prometheus in my VPN but I don't have any sentry authentication in front of it.

There don't appear to be any errors in Prometheus' logs, but this is in Traefik's log:

traefik-1      | time="2024-06-06T01:04:43Z" level=error msg="sourceRange is empty, IPAllowLister not created" entryPointName=websecure routerName=prometheus-default-prometheus@docker

But I have PROMETHEUS_METRICS_IP_SOURCERANGE="0.0.0.0/0" in my .env and Traefik seems to see the IPAllowList value: image

mcmikemn commented 1 month ago

@EnigmaCurry, I think this works and is ready to merge.

EnigmaCurry commented 1 month ago

I think maybe you forgot to push.

mcmikemn commented 4 weeks ago

I think maybe you forgot to push.

Hmmm, I see the changes I pushed a few dayes ago here in the PR.