-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
113 lines (103 loc) · 2.64 KB
/
docker-compose.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: '3'
services:
test:
platform: linux/x86_64
build: ./docker
working_dir: /usr/src/app
environment:
DB_HOST: mysql-56:3306,mysql-57:3306,mysql-80:3306,maria-100:3306,maria-101:3306,maria-102:3306,maria-103:3306,maria-113:3306
command: ./docker/wait-for-it.sh -t 0 maria-103:3306 -- vendor/bin/phpunit
volumes:
- .:/usr/src/app
depends_on:
- maria-113
travis:
platform: linux/x86_64
build: ./docker
working_dir: /usr/src/app
environment:
TRAVIS:
TRAVIS_JOB_ID:
DB_HOST: mysql-56:3306,mysql-57:3306,mysql-80:3306,maria-100:3306,maria-101:3306,maria-102:3306,maria-103:3306
command: ./docker/wait-for-it.sh -t 0 maria-103:3306 -- ./docker/ci.sh
volumes:
- .:/usr/src/app
depends_on:
- maria-103
testdb:
platform: linux/x86_64
image: mysql:8.0
command: mysqld --default-authentication-plugin=mysql_native_password
security_opt:
- seccomp:unconfined
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
ports:
- 33060:3306
mysql-56:
platform: linux/x86_64
image: mysql:5.6
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
mysql-57:
platform: linux/x86_64
image: mysql:5.7
command: mysqld --general-log=true
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- mysql-56
mysql-80:
platform: linux/x86_64
image: mysql:8.0
command: mysqld --default-authentication-plugin=mysql_native_password
security_opt:
- seccomp:unconfined
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- mysql-57
maria-100:
platform: linux/x86_64
image: mariadb:10.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- mysql-80
maria-101:
platform: linux/x86_64
image: mariadb:10.1
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- maria-100
maria-102:
platform: linux/x86_64
image: mariadb:10.2
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- maria-101
maria-103:
platform: linux/x86_64
image: mariadb:10.3
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- maria-102
maria-113:
platform: linux/x86_64
image: mariadb:11.3
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: ''
depends_on:
- maria-103