From: lavado Date: Fri, 19 Oct 2018 21:59:12 +0000 (-0500) Subject: Adding persistent volume to POL X-Git-Tag: v5.0.0~35^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=0ef7a6de428944fd87f788d1af6f70ed5d1632c1;p=osm%2Fdevops.git Adding persistent volume to POL Change-Id: I64b42389980f00c989df67de0ff83f6521271ea8 Signed-off-by: lavado --- diff --git a/installers/docker/docker-compose.yaml b/installers/docker/docker-compose.yaml index e45fabde..ab449179 100644 --- a/installers/docker/docker-compose.yaml +++ b/installers/docker/docker-compose.yaml @@ -3,6 +3,7 @@ volumes: ro_db: mongo_db: mon_db: + pol_db: osm_packages: keystone_db: networks: @@ -148,7 +149,10 @@ services: image: ${DOCKER_USER:-osm}/pol:${TAG:-latest} networks: - netOSM + volumes: + - pol_db:/app/database environment: + OSMPOL_SQL_DATABASE_URI: sqlite:///app/database/policy_module.db BROKER_URI: kafka:9092 #depends_on: # - kafka