blob: 1769b463b528e0f7be7666256d827b45149cf934 (
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
44
45
46
47
48
49
50
51
52
53
54
|
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: openecomp/mso
ports:
- "3904:3904"
- "3905:3905"
- "8080:8080"
- "9990:9990"
volumes:
- ./volumes/mso/chef-config:/shared
environment:
- MYSQL_ROOT_PASSWORD=password
- ONAP_IP=${OPENO_IP}
hostname:
mso.mso.testlab.openecomp.org
depends_on:
- mariadb
links:
- mariadb
logging:
driver: "json-file"
options:
max-size: "30m"
max-file: "5"
command:
- /wait-for.sh
- -q
- -t
- "300"
- mariadb:3306
- --
- /opt/mso/scripts/start-jboss-server.sh
|