Skip to content

Commit 770ccc1

Browse files
committed
Revert "Fixes Prometheus config directory issue"
This reverts commit 5000dd8.
1 parent 5000dd8 commit 770ccc1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docker-compose.coolify.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ services:
6868
- ./config/prometheus:/etc/prometheus
6969
- prometheus_data:/prometheus
7070
command:
71-
- >
72-
if [ -d /etc/prometheus/prometheus.yml ]; then
73-
echo "prometheus.yml is a directory — fixing...";
74-
rm -rf /etc/prometheus/prometheus.yml;
75-
fi;
76-
exec /bin/prometheus
7771
- "--config.file=/etc/prometheus/prometheus.yml"
7872
- "--storage.tsdb.path=/prometheus"
7973
- "--web.console.libraries=/etc/prometheus/console_libraries"

0 commit comments

Comments
 (0)