-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
79 lines (70 loc) · 1.52 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
version: '3.6'
services:
mariadb10:
image: mariadb:10.4.8
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./mariadb10:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=test
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=test
mysql5:
image: mysql:5.7.24
restart: always
volumes:
- ./mysql5:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=test
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=test
mysql8:
image: mysql:8.0.18
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./mysql8:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=test
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=test
phpmyadmin-mariadb:
image: phpmyadmin/phpmyadmin:4.8.5
restart: always
depends_on:
- mariadb10
environment:
- PMA_HOST=mariadb10
- PMA_PORT=3306
- PMA_USER=test
- PMA_PASSWORD=test
ports:
- "3001:80"
phpmyadmin-mysql5:
image: phpmyadmin/phpmyadmin:4.8.5
restart: always
depends_on:
- mysql5
environment:
- PMA_HOST=mysql5
- PMA_PORT=3306
- PMA_USER=test
- PMA_PASSWORD=test
ports:
- "3002:80"
phpmyadmin-mysql8:
image: phpmyadmin/phpmyadmin:4.8.5
restart: always
depends_on:
- mysql8
environment:
- PMA_HOST=mysql8
- PMA_PORT=3306
- PMA_USER=test
- PMA_PASSWORD=test
ports:
- "3003:80"