Adding persistance to Prometheus 58/6858/1
authorlavado <glavado@whitestack.com>
Thu, 8 Nov 2018 13:22:07 +0000 (08:22 -0500)
committerlavado <glavado@whitestack.com>
Thu, 8 Nov 2018 13:22:07 +0000 (08:22 -0500)
Change-Id: I8467174ac3313f6939a3796499b22845f2910f54
Signed-off-by: lavado <glavado@whitestack.com>
installers/docker/docker-compose.yaml

index ab44917..29b7857 100644 (file)
@@ -6,6 +6,7 @@ volumes:
   pol_db:
   osm_packages:
   keystone_db:
+  prom_db:
 networks:
   netOSM:
     external:
@@ -54,6 +55,7 @@ services:
       - "${OSM_PROM_PORTS:-9091:9090}"
     volumes:
       - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
+      - prom_db:/prometheus
     networks:
       - netOSM
   keystone-db: