summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be
diff options
context:
space:
mode:
authorAvinash S <avinash.s@huawei.com>2018-04-20 11:48:47 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-20 11:48:47 +0000
commite651fe867a07c827ad82d2aaa68aa1b5205fc94e (patch)
tree55629108cee0226a8852e4681a0af01880413563 /vnfmarket-be
parent70da6ba72fba950ca477999fd3680eeb355c5bc2 (diff)
parentb944ed60c8e57b6f0f7d4d30bbfe4237307b9389 (diff)
Merge "Persistence of database"
Diffstat (limited to 'vnfmarket-be')
-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 00e26fb0..7ca0b51c 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