|
@@ -34,7 +34,7 @@ services:
|
|
|
ports:
|
|
ports:
|
|
|
- "9090:9090"
|
|
- "9090:9090"
|
|
|
volumes:
|
|
volumes:
|
|
|
- - prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
|
|
|
+ - ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
- prometheus_data:/prometheus
|
|
- prometheus_data:/prometheus
|
|
|
command:
|
|
command:
|
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|