aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases-config-over-netconf/config-over-netconf/cds/docker-compose.yaml
blob: 1779ce8791a5f73592918181dd7c49e103c7cbf7 (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
39
version: '3.3'

services:
  db:
    image: nexus3.onap.org:10001/library/mariadb:10.2.14
    container_name: ccsdk-mariadb
    ports:
      - "3306:3306"
    volumes:
      - ~/vm_mysql:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: sdnctl
      MYSQL_DATABASE: sdnctl
      MYSQL_USER: sdnctl
      MYSQL_PASSWORD: sdnctl
  blueprints-processor:
    depends_on:
      - db
    image: onap/ccsdk-blueprintsprocessor:latest
    container_name: bp-rest
    ports:
      - "8000:8080"
    restart: always
    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-config-over-netconf/config-over-netconf/cds/resources:/opt/app/onap/res
    entrypoint:
      - /bin/sh
      - -c
      - "/opt/app/onap/res/importCerAndStartService.sh"
    extra_hosts:
      - sdnc:${LOCAL_IP}