summaryrefslogtreecommitdiffstats
path: root/sliboot/src/main/compose/docker-compose.yaml
blob: fbce3b6d9994ddfee1a457cc72e8743e47ad1d58 (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
version: '2.1'

services:
  db:
    image: mariadb:10.3
    container_name: sliboot_db_container
    ports:
      - "13306:3306"
    environment:
      - MYSQL_ROOT_PASSWORD=openECOMP1.0
      - MYSQL_ROOT_HOST=%
    logging:       
      driver:   "json-file"
      options:  
        max-size: "30m"
        max-file: "5"
  
      
  sliboot:
    image: onap/ccsdk-sliboot-alpine-image:latest
    depends_on:
      - db
    container_name: sliboot_sli_container
    ports:
      - "8080:8080"
    links:
      - db:dbhost
    environment:
      - MYSQL_DB_HOST=dbhost
      - MYSQL_ROOT_PASSWORD=openECOMP1.0
      - MYSQL_DB_USER=sli
      - MYSQL_DB_PASSWD=abc123
      - MYSQL_DB_DATABASE=sdnctl
    logging:       
      driver:   "json-file"
      options:  
        max-size: "30m"
        max-file: "5"