aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases-pnf-sw-upgrade/pnf-sw-upgrade/cds/docker-compose.yml
blob: f48a2039a01be8a7e0b2c32195b5e4d012b4b2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/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}