tragait | 9bbcb1b | 2020-02-24 16:33:50 +0000 | [diff] [blame] | 1 | version: '3.3' |
| 2 | |
| 3 | services: |
| 4 | db: |
| 5 | image: mariadb:latest |
| 6 | container_name: ccsdk-mariadb |
| 7 | volumes: |
| 8 | - /etc/localtime:/etc/localtime:ro |
| 9 | - ~/vm_mysql:/var/lib/mysql |
| 10 | restart: always |
| 11 | environment: |
| 12 | MYSQL_ROOT_PASSWORD: sdnctl |
| 13 | MYSQL_DATABASE: sdnctl |
| 14 | MYSQL_USER: sdnctl |
| 15 | MYSQL_PASSWORD: sdnctl |
| 16 | blueprints-processor: |
| 17 | image: onap/ccsdk-blueprintsprocessor:latest |
| 18 | depends_on: |
| 19 | - db |
| 20 | ports: |
| 21 | - "8000:8080" |
| 22 | restart: always |
| 23 | container_name: bp-rest |
| 24 | environment: |
| 25 | - APPLICATIONNAME=BlueprintsProcessor |
| 26 | - BUNDLEVERSION=1.0.0 |
| 27 | - APP_CONFIG_HOME=/opt/app/onap/config |
| 28 | - ENVCONTEXT=dev |
| 29 | volumes: |
| 30 | - /etc/localtime:/etc/localtime:ro |
efiacor | 125390b | 2020-05-06 01:14:00 +0100 | [diff] [blame] | 31 | - ${WORKSPACE}/plans/usecases-pnf-sw-upgrade/pnf-sw-upgrade/cds/resources:/opt/app/onap/res |
tragait | 9bbcb1b | 2020-02-24 16:33:50 +0000 | [diff] [blame] | 32 | entrypoint: |
| 33 | - /bin/sh |
| 34 | - -c |
| 35 | - "/opt/app/onap/res/importCerAndStartService.sh" |
| 36 | extra_hosts: |
| 37 | - sdnc:${LOCAL_IP} |
| 38 | - aai-simulator:${LOCAL_IP} |