|
|
@ -7,6 +7,7 @@ networks: |
|
|
|
|
|
|
|
volumes: |
|
|
|
grafana_data: { } |
|
|
|
prometheus_data: { } |
|
|
|
|
|
|
|
services: |
|
|
|
alertmanager: |
|
|
@ -140,6 +141,7 @@ services: |
|
|
|
|
|
|
|
volumes: |
|
|
|
- ./prometheus:/etc/prometheus |
|
|
|
- prometheus_data:/prometheus |
|
|
|
command: |
|
|
|
- '--config.file=/etc/prometheus/prometheus.yml' |
|
|
|
- '--storage.tsdb.path=/prometheus' |
|
|
|