forked from Percona-Lab/mysql_random_data_load
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.39 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
version: '3'
services:
mysql5.6:
image: mysql:5.6
platform: linux/amd64
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root
# MariaDB >= 10.0.12 doesn't enable Performance Schema by default so we need to do it manually
# https://mariadb.com/kb/en/mariadb/performance-schema-overview/#activating-the-performance-schema
command: --performance-schema --secure-file-priv=""
volumes:
- ./testdata/schema/:/docker-entrypoint-initdb.d/:rw
mysql5.7:
image: mysql:5.7
platform: linux/amd64
ports:
- 3307:3306
environment:
- MYSQL_ROOT_PASSWORD=root
# MariaDB >= 10.0.12 doesn't enable Performance Schema by default so we need to do it manually
# https://mariadb.com/kb/en/mariadb/performance-schema-overview/#activating-the-performance-schema
command: --performance-schema --secure-file-priv=""
volumes:
- ./testdata/schema/:/docker-entrypoint-initdb.d/:rw
mysql8.0:
image: mysql:8.0
platform: linux/amd64
ports:
- 3308:3306
environment:
- MYSQL_ROOT_PASSWORD=root
# MariaDB >= 10.0.12 doesn't enable Performance Schema by default so we need to do it manually
# https://mariadb.com/kb/en/mariadb/performance-schema-overview/#activating-the-performance-schema
command: --performance-schema --secure-file-priv=""
volumes:
- ./testdata/schema/:/docker-entrypoint-initdb.d/:rw