aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml
diff options
context:
space:
mode:
authortragait <rahul.tyagi@est.tech>2020-02-24 16:33:50 +0000
committertragait <rahul.tyagi@est.tech>2020-03-25 13:07:04 +0000
commit9bbcb1be8d83cca5ba97dc4a2e86c525e51991e5 (patch)
tree09522feccc3ff9ebefec97694adb37f678e3a1eb /plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml
parent7405933ba6de25b33ca577e714f298b9fe82beee (diff)
pnf sw upgrade csit
Change-Id: I776d61030efc3d51e04f98698ceb8c445db2dafa Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: INT-1308 Signed-off-by: tragait <rahul.tyagi@est.tech>
Diffstat (limited to 'plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml')
-rwxr-xr-xplans/usecases/pnf-sw-upgrade/cds/docker-compose.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml b/plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml
new file mode 100755
index 00000000..6fbde126
--- /dev/null
+++ b/plans/usecases/pnf-sw-upgrade/cds/docker-compose.yml
@@ -0,0 +1,38 @@
+version: '3.3'
+
+services:
+ db:
+ image: mariadb:latest
+ container_name: ccsdk-mariadb
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - ~/vm_mysql:/var/lib/mysql
+ restart: always
+ environment:
+ MYSQL_ROOT_PASSWORD: sdnctl
+ MYSQL_DATABASE: sdnctl
+ MYSQL_USER: sdnctl
+ MYSQL_PASSWORD: sdnctl
+ blueprints-processor:
+ image: onap/ccsdk-blueprintsprocessor:latest
+ depends_on:
+ - db
+ ports:
+ - "8000:8080"
+ restart: always
+ container_name: bp-rest
+ environment:
+ - APPLICATIONNAME=BlueprintsProcessor
+ - BUNDLEVERSION=1.0.0
+ - APP_CONFIG_HOME=/opt/app/onap/config
+ - ENVCONTEXT=dev
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - ${WORKSPACE}/plans/usecases/pnf-sw-upgrade/cds/resources:/opt/app/onap/res
+ entrypoint:
+ - /bin/sh
+ - -c
+ - "/opt/app/onap/res/importCerAndStartService.sh"
+ extra_hosts:
+ - sdnc:${LOCAL_IP}
+ - aai-simulator:${LOCAL_IP}