mirror of
https://github.com/Dokploy/templates.git
synced 2026-05-06 02:07:03 -05:00
[PR #605] [MERGED] Fix Prometheus config mount: missing volume binding in docker-compose #3353
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/605
Author: @Copilot
Created: 12/19/2025
Status: ✅ Merged
Merged: 12/19/2025
Merged by: @Siumauricio
Base:
canary← Head:copilot/fix-prometheus-yml-configuration📝 Commits (3)
a25e11dInitial planbbcc435Fix Prometheus mounted prometheus.yml file by adding volume mount71d7330Update blueprints/prometheus/template.toml📊 Changes
2 files changed (+5 additions, -1 deletions)
View changed files
📝
blueprints/prometheus/docker-compose.yml(+1 -0)📝
blueprints/prometheus/template.toml(+4 -1)📄 Description
What is this PR about?
Fixes Prometheus template where
prometheus.ymledits in Dokploy UI had no effect. Thetemplate.tomldefined mount content butdocker-compose.ymllacked the volume binding to inject it.Changes
../files/prometheus.yml:/etc/prometheus/prometheus.ymlvolume mountfilePathfrom/etc/prometheus/prometheus.ymltoprometheus.ymlto match pattern used by garage-with-ui, plausible, libredesk templatesPattern: Dokploy writes
config.mountscontent to../files/{filePath}, docker-compose binds it into container.Checklist
Before submitting this PR, please make sure that:
Screenshots or Videos
N/A - Configuration file changes only
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.