-
I'm trying to get this running in a Synology's Container Manager which pulled this from DockerHub. I've mapped 8080 and 8443 to the exposed 8080 and 8443 like the example. I seem to be getting lan traffic into the container. Trying to access http:/[Synology IP]:8080/metrics and I get (generic) 404. Not sure what to try next to troubleshoot as I'm a container and web hook beginner. In the mean time I think I'll have to try it out in Desktop to rule out anything happening from the Container Manager side. But thought I'd check in here to see if this is indicative of anything obviously wrong. Should I be getting a metrics page if I'm getting incompatible data from the weather station? Or is there a way to check if it's handling the incoming data and just failing to post the metrics page? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.