aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: c7d9b497bd61dd7a3fec2a38f0744adaf017461f (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: ecomp/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