mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 08:54:04 +01:00
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:
commit
5be504b566
@ -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"
|
||||
restart: unless-stopped
|
||||
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||
- ./data:/prometheus
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user