summaryrefslogtreecommitdiffstats
path: root/mod2
diff options
context:
space:
mode:
authormssivakumar01 <ss426e@att.com>2020-11-02 13:13:28 -0500
committermssivakumar01 <ss426e@att.com>2020-11-02 14:28:05 -0500
commit437e1f4e621d63cf576caa5de9c5c4804ea455f9 (patch)
tree3bc6df27ed59f032ef4cc76c2bab8a677f6256d2 /mod2
parentc8d244d826cc1d9b2ad7aeb0ca0874e321ad4577 (diff)
Add docker compose yaml file for mod components deployment and pom file
for future use. Issue-ID: DCAEGEN2-2320 Change-Id: I954a088e6c90e19a8b47b5227358e022cf8fb94a Signed-off-by: Sivakumar Santharam <ss426e@att.com>
Diffstat (limited to 'mod2')
-rw-r--r--mod2/assembly/docker-compose.yml66
-rw-r--r--mod2/assembly/pom.xml34
2 files changed, 100 insertions, 0 deletions
diff --git a/mod2/assembly/docker-compose.yml b/mod2/assembly/docker-compose.yml
new file mode 100644
index 0000000..7b1467b
--- /dev/null
+++ b/mod2/assembly/docker-compose.yml
@@ -0,0 +1,66 @@
+#
+# /*
+# * ============LICENSE_START=======================================================
+# * org.onap.dcae
+# * ================================================================================
+# * Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
+# * ================================================================================
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# * ============LICENSE_END=========================================================
+# */
+#
+version: '3.3'
+services:
+ mongo_db:
+ image: 'registry.hub.docker.com/library/mongo:4.0.8'
+ container_name: mongo_db
+ environment:
+ - DCAE_HOSTNAME=${DCAE_HOSTNAME}
+ volumes:
+ - type: 'bind'
+ source: '/home/ubuntu/mongo/mongo_db/data'
+ target: '/data/db'
+ ports:
+ - 27017:27017
+ restart: always
+ dcae_mod_ui:
+ image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.ui:latest'
+ container_name: mod_ui
+ environment:
+ - DCAE_HOSTNAME=${DCAE_HOSTNAME}
+ ports:
+ - 30997:4200
+ depends_on:
+ - mod_catalog_service
+ restart: always
+ mod_catalog_service:
+ image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.catalog-service:latest'
+ container_name: mod_catalog_service
+ ports:
+ - 31001:8080
+ links:
+ - mongo_db
+ depends_on:
+ - mongo_db
+ restart: always
+ mod_auth_service:
+ image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.auth-service:latest'
+ container_name: mod_auth_service
+ ports:
+ - 31003:8082
+ links:
+ - mongo_db
+ depends_on:
+ - mongo_db
+ restart: always
+ \ No newline at end of file
diff --git a/mod2/assembly/pom.xml b/mod2/assembly/pom.xml
new file mode 100644
index 0000000..2746268
--- /dev/null
+++ b/mod2/assembly/pom.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ ============LICENSE_START=======================================================
+ ~ org.onap.dcae
+ ~ ================================================================================
+ ~ Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
+ ~ ================================================================================
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~ ============LICENSE_END=========================================================
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>2.0.0</version>
+ </parent>
+ <groupId>org.onap.dcaegen2.platform.mod</groupId>
+ <artifactId>assembly</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+</project> \ No newline at end of file