Add docker-compose file for vnf repository 65/13665/1
authorMurali <murali.p@huawei.com>
Wed, 20 Sep 2017 05:14:21 +0000 (05:14 +0000)
committerMurali <murali.p@huawei.com>
Wed, 20 Sep 2017 05:14:21 +0000 (05:14 +0000)
Change-Id: I3ba3b4290058ca435bc7730c8423cd58ab1f9404
Jira:VNFSDK-92
Signed-off-by: Murali <murali.p@huawei.com>
vnfmarket-be/deployment/install/docker-compose.yml [new file with mode: 0644]

diff --git a/vnfmarket-be/deployment/install/docker-compose.yml b/vnfmarket-be/deployment/install/docker-compose.yml
new file mode 100644 (file)
index 0000000..caf70cd
--- /dev/null
@@ -0,0 +1,20 @@
+postgres:
+    container_name: "postgres"
+    restart: "always"
+    image: "nexus3.onap.org:10001/onap/refrepo/postgres:latest"
+    mem_limit: "1g"
+    memswap_limit: "1g"
+    ports:
+        - "5432:5432"
+   
+
+refrepo:
+    container_name: "refrepo"
+    restart: "always"
+    image: "nexus3.onap.org:10001/onap/refrepo:1.0-STAGING-latest"
+    ports:
+        - "8702:8702"
+    environment:
+      POSTGRES_IP: postgres
+    links:
+        - postgres