forked from prisma/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
161 lines (149 loc) · 3.15 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
version: "3"
services:
pgbouncer:
image: brainsam/pgbouncer:latest
restart: always
environment:
DB_HOST: "postgres11"
DB_PORT: "5432"
DB_USER: "postgres"
DB_PASSWORD: "prisma"
POOL_MODE: "transaction"
MAX_CLIENT_CONN: "1000"
networks:
- databases
ports:
- "6432:6432"
postgres9:
image: postgres:9
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs9"
ports:
- "5431:5432"
networks:
- databases
tmpfs: /pgtmpfs9
postgres10:
image: postgres:10
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs10"
ports:
- "5432:5432"
networks:
- databases
tmpfs: /pgtmpfs10
postgres11:
image: postgres:11
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs11"
ports:
- "5433:5432"
networks:
- databases
tmpfs: /pgtmpfs11
postgres12:
image: postgres:12
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs12"
ports:
- "5434:5432"
networks:
- databases
tmpfs: /pgtmpfs12
postgres13:
image: postgres:13
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs13"
ports:
- "5435:5432"
networks:
- databases
tmpfs: /pgtmpfs12
mysql-5-6:
image: mysql:5.6
command: mysqld
restart: always
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: prisma
MYSQL_DATABASE: prisma
ports:
- "3309:3306"
networks:
- databases
tmpfs: /var/lib/mysql
mysql-5-7:
image: mysql:5.7
command: mysqld
restart: always
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: prisma
MYSQL_DATABASE: prisma
ports:
- "3306:3306"
networks:
- databases
tmpfs: /var/lib/mysql
mysql-8-0:
image: mysql:8.0
command: mysqld
restart: always
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: prisma
MYSQL_DATABASE: prisma
ports:
- "3307:3306"
networks:
- databases
tmpfs: /var/lib/mysql8
mariadb-10-0:
image: mariadb:10
restart: always
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: prisma
MYSQL_DATABASE: prisma
ports:
- "3308:3306"
networks:
- databases
tmpfs: /var/lib/mariadb
mssql-2019:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: always
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "<YourStrong@Passw0rd>"
ports:
- "1433:1433"
networks:
- databases
mssql-2017:
image: mcr.microsoft.com/mssql/server:2017-latest
restart: always
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "<YourStrong@Passw0rd>"
ports:
- "1434:1433"
networks:
- databases
networks:
databases: