Skip to content

Commit e4fd6f5

Browse files
committed
Ensures Prometheus config is correctly handled
Adds parameters to ensure that Prometheus configuration is correctly handled by Docker Compose. Prevents potential errors due to incorrect file handling.
1 parent c575152 commit e4fd6f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.coolify.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ services:
6464
source: ./config/prometheus/prometheus.yml
6565
target: /etc/prometheus/prometheus.yml
6666
read_only: true
67+
is_directory: false
68+
content: ""
6769
- prometheus_data:/prometheus
6870
command:
6971
- "--config.file=/etc/prometheus/prometheus.yml"

0 commit comments

Comments
 (0)