summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/dc
diff options
context:
space:
mode:
authorBrinda Santh <brindasanth@in.ibm.com>2019-09-06 14:37:04 -0400
committerBrinda Santh <brindasanth@in.ibm.com>2019-09-18 14:56:45 -0400
commit65279626aae2c414f023a85feb9e3fee41e7215c (patch)
tree9430645050f531ae1ec6d5a2a21807e59c91b109 /ms/blueprintsprocessor/application/src/main/dc
parent996d0b3caf7bf767747b8c369d2ccc579711d092 (diff)
Refactor distribution module to application.
Change-Id: If6451215e1d1c3b1b5963bbe5c6cda1532f01ac5 Issue-ID: CCSDK-1697 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/dc')
-rwxr-xr-xms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
new file mode 100755
index 000000000..407aa6b20
--- /dev/null
+++ b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
@@ -0,0 +1,46 @@
+version: '3.3'
+
+services:
+ db:
+ image: mariadb:latest
+ container_name: ccsdk-mariadb
+ ports:
+ - "3306:3306"
+ volumes:
+ - ~/vm_mysql:/var/lib/mysql
+ restart: always
+ environment:
+ MYSQL_ROOT_PASSWORD: sdnctl
+ MYSQL_DATABASE: sdnctl
+ MYSQL_USER: sdnctl
+ MYSQL_PASSWORD: sdnctl
+ blueprints-processor:
+ depends_on:
+ - db
+ image: onap/ccsdk-blueprintsprocessor:latest
+ container_name: bp-processor
+ ports:
+ - "8000:8080"
+ - "9111:9111"
+ restart: always
+ volumes:
+ - blueprints-deploy:/opt/app/onap/blueprints/deploy
+ environment:
+ APPLICATIONNAME: BlueprintsProcessor
+ BUNDLEVERSION: 1.0.0
+ APP_CONFIG_HOME: /opt/app/onap/config
+ STICKYSELECTORKEY:
+ ENVCONTEXT: dev
+ command-executor:
+ depends_on:
+ - db
+ image: onap/ccsdk-commandexecutor:latest
+ container_name: bp-command-executor
+ ports:
+ - "50051:50051"
+ restart: always
+ volumes:
+ - blueprints-deploy:/opt/app/onap/blueprints/deploy
+
+volumes:
+ blueprints-deploy: