-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 910 Bytes
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.8"
services:
mysql56:
image: mysql:5.6
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql57:
image: mysql:5.7
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mariadb:
image: mariadb:10.6
ports:
- "3306:3306"
environment:
- MARIADB_USER=springuser
- MARIADB_PASSWORD=ThePassword
- MARIADB_DATABASE=db_example
- MARIADB_RANDOM_ROOT_PASSWORD=true