-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
90 lines (83 loc) · 1.99 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
80
81
82
83
84
85
86
87
88
89
90
version: '3.9'
services:
postgres:
container_name: 'postgres_sakila'
image: 'postgres'
ports:
- '5456:5432'
volumes:
- 'postgres_data:/var/lib/postgresql/data'
environment:
POSTGRES_USER: 'user1'
POSTGRES_PASSWORD: 'Hunter2!'
POSTGRES_DB: 'sakila'
mysql:
container_name: 'mysql_sakila'
image: 'mysql'
ports:
- '3330:3306'
volumes:
- 'mysql_data:/var/lib/mysql'
environment:
MYSQL_ROOT_PASSWORD: 'Hunter2!'
MYSQL_USER: 'user1'
MYSQL_PASSWORD: 'Hunter2!'
MYSQL_DATABASE: 'sakila'
platform: 'linux/amd64'
mysql5:
container_name: 'mysql5_sakila'
image: 'mysql:5.7'
ports:
- '3320:3306'
volumes:
- 'mysql5_data:/var/lib/mysql'
environment:
MYSQL_ROOT_PASSWORD: 'Hunter2!'
MYSQL_USER: 'user1'
MYSQL_PASSWORD: 'Hunter2!'
MYSQL_DATABASE: 'sakila'
platform: 'linux/amd64'
mariadb:
container_name: 'mariadb_sakila'
image: 'mariadb'
ports:
- '3340:3306'
volumes:
- 'mariadb_data:/var/lib/mysql'
environment:
MYSQL_ROOT_PASSWORD: 'Hunter2!'
MYSQL_USER: 'user1'
MYSQL_PASSWORD: 'Hunter2!'
MYSQL_DATABASE: 'sakila'
platform: 'linux/amd64'
sqlserver:
container_name: 'sqlserver_sakila'
image: 'mcr.microsoft.com/azure-sql-edge'
ports:
- '1447:1433'
volumes:
- 'sqlserver_data:/var/opt/mssql'
environment:
ACCEPT_EULA: 'Y'
MSSQL_SA_PASSWORD: 'Hunter2!'
MSSQL_PID: 'Developer'
# https://github.com/gvenzl/oci-oracle-xe/issues/63
# oracle:
# container_name: 'oracle_sakila'
# image: 'gvenzl/oracle-xe'
# ports:
# - '1545:1521'
# volumes:
# - 'oracle_data:/opt/oracle/oradata'
# environment:
# ORACLE_PASSWORD: 'Hunter2!'
# APP_USER: 'user1'
# APP_USER_PASSWORD: 'Hunter2!'
# platform: 'linux/amd64'
volumes:
postgres_data:
mysql_data:
mysql5_data:
mariadb_data:
sqlserver_data:
# oracle_data: