summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: eb089abead880716e6f3b868a1aa8cc032d8c8ec (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
version: '2'

services:
  mariadb:
    image: mariadb:10.1.11
    ports:
      - "3306"
    volumes:
      - ./volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
      - ./volumes/mariadb/conf.d:/etc/mysql/conf.d
    environment:
      - MYSQL_ROOT_PASSWORD=password
    hostname:
      db.mso.testlab.openecomp.org
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"      
      
  mso:
    image: openecomp/mso
    ports:
      - "3904:3904"
      - "3905:3905"    
      - "8080:8080"
      - "9990:9990"    
    volumes:
      - ./volumes/mso/chef-config:/shared
    environment:
      - MYSQL_ROOT_PASSWORD=password
    hostname:
      mso.mso.testlab.openecomp.org