forked from involvestecnologia/mysql-events
-
Notifications
You must be signed in to change notification settings - Fork 53
/
docker-compose.yml
54 lines (51 loc) · 1.26 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
---
version: '2'
services:
mysql55:
image: mysql:5.5
container_name: mysql55
command: [ "--server-id=1", "--log-bin=/var/lib/mysql/mysql-bin.log", "--binlog-format=row"]
ports:
- 3355:3306
networks:
default:
aliases:
- mysql55
environment:
MYSQL_ROOT_PASSWORD: root
mysql56:
image: mysql:5.6
container_name: mysql56
command: [ "--server-id=1", "--log-bin=/var/lib/mysql/mysql-bin.log", "--binlog-format=row"]
ports:
- 3356:3306
networks:
default:
aliases:
- mysql56
environment:
MYSQL_ROOT_PASSWORD: root
mysql57:
image: mysql:5.7
container_name: mysql57
command: [ "--server-id=1", "--log-bin=/var/lib/mysql/mysql-bin.log", "--binlog-format=row"]
ports:
- 3357:3306
networks:
default:
aliases:
- mysql57
environment:
MYSQL_ROOT_PASSWORD: root
mysql80:
image: mysql:8.0
container_name: mysql80
command: [ "--server-id=1", "--log-bin=/var/lib/mysql/mysql-bin.log", "--binlog-format=row", "--default-authentication-plugin=mysql_native_password"]
ports:
- 3380:3306
networks:
default:
aliases:
- mysql80
environment:
MYSQL_ROOT_PASSWORD: root