forked from dongwook-chan/go-mysql-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (42 loc) · 901 Bytes
/
docker-compose.yaml
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
version: '3.2'
services:
# mysql-5.7:
# image: mysql:5.7
# environment:
# - MYSQL_ALLOW_EMPTY_PASSWORD=true
# ports:
# - 3306:3306
# command: >
# mysqld
# --log-bin=binlog
# --server-id 1
mysql-8.0.23:
image: mysql:8.0.23
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
ports:
- 3306:3306
# mariadb-10.4:
# image: mariadb:10.4
# environment:
# - MYSQL_ALLOW_EMPTY_PASSWORD=true
# ports:
# - 3306:3306
# command: >
# mysqld
# --log-bin=binlog
# --server-id 1
# --binlog-format row
# --binlog-row-image full
# mariadb-10.5:
# image: mariadb:10.5
# environment:
# - MYSQL_ALLOW_EMPTY_PASSWORD=true
# ports:
# - 3306:3306
# command: >
# mysqld
# --log-bin=binlog
# --server-id 1
# --binlog-format row
# --binlog-row-image full