forked from beekeeper-studio/beekeeper-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (89 loc) · 2.32 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'
volumes:
mssql:
mssqllatin:
psql:
mysql:
mysql8:
mariadb:
cockroachdb:
services:
psql:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
POSTGRES_DB: saklia
volumes:
- psql:/var/lib/postgresql/data
- ./dev/docker_psql_init:/docker-entrypoint-initdb.d
ports:
- 5432:5432
mariadb:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: test
ports:
- 3307:3306
volumes:
- mariadb:/var/lib/mysql
- ./dev/docker_mysql_init:/docker-entrypoint-initdb.d
mysql8:
image: mysql:8.0.21
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: test
ports:
- 3308:3306
volumes:
- mysql8:/var/lib/mysql
- ./dev/docker_mysql_init:/docker-entrypoint-initdb.d
mysql:
image: mysql:5.7.22
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: test
ports:
- 3306:3306
volumes:
- mysql:/var/lib/mysql
- ./dev/docker_mysql_init:/docker-entrypoint-initdb.d
sqlserver:
image: "mcr.microsoft.com/mssql/server:2017-latest-ubuntu"
volumes:
- mssql:/var/opt/mssql/data
- ./dev/docker_sqlserver:/docker_init
restart: always
environment:
ACCEPT_EULA: "Y"
MSSSQL_PID: "Express"
SA_PASSWORD: "Example@1"
ports:
- 1433:1433
command: sh -c ' chmod +x /docker_init/entrypoint.sh; /docker_init/entrypoint.sh & /opt/mssql/bin/sqlservr;'
sqlserverlatin:
image: 'mcr.microsoft.com/mssql/server:2017-latest-ubuntu'
volumes:
- mssqllatin:/var/opt/mssql/data
- ./dev/docker_sqlserver:/docker_init
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: Example@1"
MSSQL_COLLATION: Latin1_General_CS_AS
MSSQL_PID: "Express"
ports:
- 1434:1433
command: sh -c ' chmod +x /docker_init/entrypoint.sh; /docker_init/entrypoint.sh & /opt/mssql/bin/sqlservr;'
cockroachdb:
image: cockroachdb/cockroach
volumes:
- cockroachdb:/cockroach/cockroach-data
ports:
- 26257:26257
command: start-single-node --insecure