summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-01-08 18:18:07 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-08 18:18:07 +0000
commit60a0f9b7ef63b199e7cff71cdec72c96bd075b63 (patch)
treefb8ee2ba71c216c558521c827510a8f64e90e10b /ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
parent2dbdbf12e4d0ef5f8a3042d65e0def08d20ff22d (diff)
parent0e8d0fc7b44a17a558f88642e2e7a4de007a3da4 (diff)
Merge "Include correlationId in group lock."
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml')
-rwxr-xr-xms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml36
1 files changed, 32 insertions, 4 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
index d87770286..20b17bc90 100755
--- a/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
+++ b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml
@@ -9,7 +9,9 @@ services:
ports:
- "3306:3306"
volumes:
- - ~/vm_mysql:/var/lib/mysql
+ - target: /var/lib/mysql
+ type: volume
+ source: mysql-data
restart: always
environment:
MYSQL_ROOT_PASSWORD: sdnctl
@@ -29,7 +31,12 @@ services:
- "9111:9111"
restart: always
volumes:
- - blueprints-deploy:/opt/app/onap/blueprints/deploy
+ - target: /opt/app/onap/blueprints/deploy
+ type: volume
+ source: blueprints-deploy
+ - target: /opt/app/onap/config
+ type: volume
+ source: controller-config
environment:
APPLICATIONNAME: cds-controller
BUNDLEVERSION: 1.0.0
@@ -47,7 +54,9 @@ services:
- "50051:50051"
restart: always
volumes:
- - blueprints-deploy:/opt/app/onap/blueprints/deploy
+ - target: /opt/app/onap/blueprints/deploy
+ type: volume
+ source: blueprints-deploy
py-executor-default:
depends_on:
- db
@@ -60,7 +69,9 @@ services:
- "50052:50052"
restart: always
volumes:
- - blueprints-deploy:/opt/app/onap/blueprints/deploy
+ - target: /opt/app/onap/blueprints/deploy
+ type: volume
+ source: blueprints-deploy
environment:
APPLICATIONNAME: py-executor
BUNDLEVERSION: 1.0.0
@@ -72,7 +83,24 @@ services:
LOG_FILE: /opt/app/onap/logs/application.log
volumes:
+ mysql-data:
+ driver: local
+ driver_opts:
+ type: none
+ device: /opt/app/cds/mysql/data
+ o: bind
blueprints-deploy:
+ driver: local
+ driver_opts:
+ type: none
+ device: /opt/app/cds/blueprints/deploy
+ o: bind
+ controller-config:
+ driver: local
+ driver_opts:
+ type: none
+ device: /opt/app/cds/cds-controller/config
+ o: bind
networks:
cds-network: