Add allotted resource recipe table
[so/docker-config.git] / docker-compose.yml
1 version: '2'
2 networks:
3   default:
4     driver: bridge
5     driver_opts:
6       com.docker.network.driver.mtu: ${MTU}
7 services:
8   mariadb:
9     image: mariadb:10.1.11
10     ports:
11       - "3306"
12     volumes:
13       - ./volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
14       - ./volumes/mariadb/conf.d:/etc/mysql/conf.d
15     environment:
16       - MYSQL_ROOT_PASSWORD=password
17     hostname:
18       db.mso.testlab.openecomp.org
19     logging:
20       driver: "json-file"
21       options:
22         max-size: "30m"
23         max-file: "5"
24   mso:
25     image: openecomp/mso
26     ports:
27       - "3904:3904"
28       - "3905:3905"
29       - "8080:8080"
30       - "9990:9990"
31     volumes:
32       - ./volumes/mso/chef-config:/shared
33     environment:
34       - MYSQL_ROOT_PASSWORD=password
35       - ONAP_IP=${OPENO_IP}
36     hostname:
37       mso.mso.testlab.openecomp.org
38     depends_on:
39       - mariadb
40     links:
41       - mariadb
42     logging:
43       driver: "json-file"
44       options:
45         max-size: "30m"
46         max-file: "5"
47     command:
48       - /wait-for.sh
49       - -q
50       - -t
51       - "300"
52       - mariadb:3306
53       - --
54       - /opt/mso/scripts/start-jboss-server.sh