summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/dc/docker-compose.yaml
blob: 0117fee4b5c4a8318804c037e76da8495a7eb7c7 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '2.1'

services:
  db:
    image: mariadb:10.5
    container_name: gra_db_container
    ports:
      - "13306:3306"
    environment:
      - MYSQL_ROOT_PASSWORD=openECOMP1.0
      - MYSQL_ROOT_HOST=%
      - MYSQL_USER=sdnc
      - MYSQL_PASSWORD=abc123
      - MYSQL_DATABASE=sdnctl
    logging:       
      driver:   "json-file"
      options:  
        max-size: "30m"
        max-file: "5"
  
      
  gra:
    image: onap/sdnc-gra-image:latest
    depends_on:
      - db
    container_name: sdnc_gra_container
    ports:
      - "8080:8080"
      - "8443:8443"
    links:
      - db:dbhost
    environment:
      - MYSQL_DB_HOST=dbhost
      - MYSQL_ROOT_PASSWORD=openECOMP1.0
      - MYSQL_DB_USER=sdnc
      - MYSQL_DB_PASSWD=abc123
      - MYSQL_DB_DATABASE=sdnctl
      - TRUSTSTORE_PASSWORD=changeit
      - CACERT_PASSWORD=changeit
      - SDNC_CERT_DIR=/opt/onap/sdnc/config
      - JAVA_SECURITY_DIR=/usr/lib/jvm/default-jvm/jre/lib/security
      - TRUSTSTORE=truststoreONAPall.jks
    volumes:
      - ../resources:/opt/onap/sdnc/config
    logging:       
      driver:   "json-file"
      options:  
        max-size: "30m"
        max-file: "5"
    extra_hosts:
      aaf-onap-test.osaaf.org: 10.12.5.145