Skip to content

Metrics Page 404 #31

Answered by zedprimed
zedprimed asked this question in Q&A
Discussion options

You must be logged in to vote

Got this working now so answering myself in case anyone else ends up here trying to use the Docker.

It looks like I could not get the configuration JSON recognized using either Docker Compose following the install instructions, Docker Desktop, or Container Manager volumes. Not sure if it just didn't fall back to default config in the build, or was hanging on bad calls to the Ambient Weather service.

I used environment variables instead to turn off enrich and make sure metrics are turned on.

The container communicates only on 8080 contrary to the Dockerfile and Compose YAML. So only 8080 needs exposed, and you can set Prometheus scrape and your weather station to communicate to 8080.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zedprimed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant