Skip to content
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

Correct Prometeus Compose.yaml #766

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Judman
Copy link

@Judman Judman commented Feb 14, 2025

Pull Request

Updated the prometheus compose.yaml. The currently the prometheus.yaml volume mapping creates a directory in the container at /etc/prometheus/prometheus.yaml. The command in the compose file for the config sets the location at /etc/prometheus/prometheus.yaml which is a directory created by the volume mappings.

I removed the prometheus.yaml mapping from both sides of the volume mapping. This makes the config.file command correct and no longer errors with "prometheus.yaml is a directory".

Users need to create the prometheus.yaml config file in the host ./config/ folder.

Volume mapping for the config like made a directory called prometheus.yaml not a file. It did not make sense to specify file names in the volume mappings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant