aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: cce451561023fc0b39ccddcc7326707b4582a3ae (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
version: '2'
networks:
  default:
    driver: bridge
    driver_opts:
      com.docker.network.driver.mtu: ${MTU}
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
    depends_on:
      - mariadb
    logging:
      driver: "json-file"
      options:
        max-size: "30m"
        max-file: "5"