summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2018-04-20 17:06:05 +0530
committerMurali-P <murali.p@huawei.com>2018-04-20 17:06:05 +0530
commitb944ed60c8e57b6f0f7d4d30bbfe4237307b9389 (patch)
tree8bbff26182e1fc978de2545f75f57d105d78129f
parentacff25611bc72d58e8e9fc858877d3410899f9e6 (diff)
Persistence of database
DB data need to persist Issue-ID: VNFSDK-234 Change-Id: I7300b2386dd3d0da91a7f59e66c0ae559e56b139 Signed-off-by: Murali-P <murali.p@huawei.com>
-rw-r--r--vnfmarket-be/deployment/install/docker-compose.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/vnfmarket-be/deployment/install/docker-compose.yml b/vnfmarket-be/deployment/install/docker-compose.yml
index 75f31c20..90e28c92 100644
--- a/vnfmarket-be/deployment/install/docker-compose.yml
+++ b/vnfmarket-be/deployment/install/docker-compose.yml
@@ -13,7 +13,9 @@ services:
mem_limit: "1g"
memswap_limit: "1g"
ports:
- - "5432:5432"
+ - "5432:5432"
+ volumes:
+ - /data/refrepo/postgres:/var/lib/postgresql/data
refrepo:
container_name: "refrepo"
@@ -27,6 +29,6 @@ services:
JPDA_ADDRESS: 8000
JPDA_TRANSPORT: dt_socket
volumes:
- - /data/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR
+ - /data/refrepo/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR
links:
- postgres