Merge pull request #122 from ChristianLempa:83-error-loading-config-configfile=etcprometheusprometheusyml-file=etcprometheusprometheusyml-err=open-etcprometheusprometheusyml-no-such-file-or-directory

update prometheus
This commit is contained in:
Christian Lempa 2023-09-13 12:04:55 +02:00 committed by GitHub
commit 5be504b566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,12 @@ volumes:
driver: local
services:
prometheus:
image: prom/prometheus:latest
image: prom/prometheus:v2.37.9
container_name: prometheus
ports:
- 9090:9090
command: "--config.file=/etc/prometheus/prometheus.yaml"
volumes:
- /etc/prometheus:/etc/prometheus
- prometheus-data:/prometheus
command: "--config.file=/etc/prometheus/prometheus.yml"
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
- ./data:/prometheus
restart: unless-stopped