diff options
author | Avinash S <avinash.s@huawei.com> | 2018-04-20 11:48:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-20 11:48:47 +0000 |
commit | e651fe867a07c827ad82d2aaa68aa1b5205fc94e (patch) | |
tree | 55629108cee0226a8852e4681a0af01880413563 | |
parent | 70da6ba72fba950ca477999fd3680eeb355c5bc2 (diff) | |
parent | b944ed60c8e57b6f0f7d4d30bbfe4237307b9389 (diff) |
Merge "Persistence of database"
-rw-r--r-- | vnfmarket-be/deployment/install/docker-compose.yml | 6 |
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 |