blob: 65da92f3093f30183e9ba9fe87b7d43c9556949c [file] [log] [blame]
Anaël Closson9347eb32017-05-10 16:42:12 +02001version: '2'
ChrisCb2507a42017-05-10 08:25:17 -07002networks:
3 default:
4 driver: bridge
5 driver_opts:
6 com.docker.network.driver.mtu: ${MTU}
Anaël Closson9347eb32017-05-10 16:42:12 +02007services:
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"
Anaël Closson9347eb32017-05-10 16:42:12 +020024 mso:
ChrisC081057c2017-05-15 05:42:16 -070025 image: openecomp/mso
Anaël Closson9347eb32017-05-10 16:42:12 +020026 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 hostname:
36 mso.mso.testlab.openecomp.org
37 depends_on:
38 - mariadb
39 logging:
40 driver: "json-file"
41 options:
42 max-size: "30m"
43 max-file: "5"