Skip to content

Grafana error during setup: error mounting "HOME/prometheus.yml" to rootfs at "/etc/prometheus/prometheus.yml" #3102

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

You must be logged in to vote

Found the problem. In docker-compose.yaml file it expects a local file prometheus.yml but in documentation it points to ./prometheus.yml:/etc/prometheus/prometheus.yaml.
Had to rename ending from yaml to yml.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by taitruong
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