| 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/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} |