forked from prisma/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
333 lines (307 loc) Β· 7.3 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
version: "3"
services:
cockroach:
image: prismagraphql/build:cockroach-custom
restart: always
command: start-single-node --insecure
ports:
- "26257:26257"
networks:
- databases
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:size=4g
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:size=4g
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:size=4g
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:size=4g
postgres13:
image: postgres:13
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
PGDATA: "/pgtmpfs13"
ports:
- "5435:5432"
networks:
- databases
tmpfs: /pgtmpfs13:size=4g
postgres14:
image: postgres:14
restart: always
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_PASSWORD: "prisma"
POSTGRES_HOST_AUTH_METHOD: "md5"
POSTGRES_INITDB_ARGS: "--auth-host=md5"
ports:
- "5437:5432"
networks:
- databases
mysql-5-6:
image: mysql:5.6.50
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.32
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.28
command: mysqld
restart: always
environment:
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
vitess-test-5_7:
image: vitess/vttestserver:mysql57@sha256:2b132a22d08b3b227d9391f8f58ed7ab5c081ca07bf0f87a0c166729124d360a
restart: always
ports:
- 33577:33577
environment:
PORT: 33574
KEYSPACES: "test"
NUM_SHARDS: "1"
MYSQL_BIND_HOST: "0.0.0.0"
FOREIGN_KEY_MODE: "disallow"
vitess-test-8_0:
image: vitess/vttestserver:mysql80@sha256:9412e3d51bde38e09c3039090b5c68808e299579f12c79178a4ec316f7831889
restart: always
ports:
- 33807:33807
environment:
PORT: 33804
KEYSPACES: "test"
NUM_SHARDS: "1"
MYSQL_BIND_HOST: "0.0.0.0"
FOREIGN_KEY_MODE: "disallow"
vitess-shadow-5_7:
image: vitess/vttestserver:mysql57@sha256:2b132a22d08b3b227d9391f8f58ed7ab5c081ca07bf0f87a0c166729124d360a
restart: always
ports:
- 33578:33577
environment:
PORT: 33574
KEYSPACES: "shadow"
NUM_SHARDS: "1"
MYSQL_BIND_HOST: "0.0.0.0"
FOREIGN_KEY_MODE: "disallow"
vitess-shadow-8_0:
image: vitess/vttestserver:mysql80@sha256:9412e3d51bde38e09c3039090b5c68808e299579f12c79178a4ec316f7831889
restart: always
ports:
- 33808:33807
environment:
PORT: 33804
KEYSPACES: "shadow"
NUM_SHARDS: "1"
MYSQL_BIND_HOST: "0.0.0.0"
FOREIGN_KEY_MODE: "disallow"
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
azure-edge:
image: mcr.microsoft.com/azure-sql-edge
restart: always
environment:
ACCEPT_EULA: "Y"
MSSQL_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
mongo42:
image: prismagraphql/mongo-single-replica:4.2.17-bionic
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
MONGO_PORT: 27016
INIT_WAIT_SEC: $INIT_WAIT_SEC
networks:
- databases
ports:
- "27016:27016"
mongo44:
image: prismagraphql/mongo-single-replica:4.4.3-bionic
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
INIT_WAIT_SEC: $INIT_WAIT_SEC
ports:
- "27017:27017"
networks:
- databases
mongo42-single:
image: mongo:4.2
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
INIT_WAIT_SEC: $INIT_WAIT_SEC
ports:
- "27016:27017"
networks:
- databases
mongo44-single:
image: mongo:4.4
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
INIT_WAIT_SEC: $INIT_WAIT_SEC
ports:
- "27017:27017"
networks:
- databases
mongo5:
image: prismagraphql/mongo-single-replica:5.0.3
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
MONGO_PORT: 27018
INIT_WAIT_SEC: $INIT_WAIT_SEC
ports:
- "27018:27018"
networks:
- databases
mongo5-single:
image: mongo:5
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: "prisma"
MONGO_INITDB_ROOT_PASSWORD: "prisma"
INIT_WAIT_SEC: $INIT_WAIT_SEC
ports:
- "27018:27017"
networks:
- databases
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: "prisma"
ME_CONFIG_MONGODB_ADMINPASSWORD: "prisma"
ME_CONFIG_MONGODB_URL: mongodb://prisma:prisma@mongo4-single:27017/
networks:
- databases
otel:
image: jaegertracing/opentelemetry-all-in-one:latest
ports:
- 13133:13133
- 16686:16686
- 4317:55680
networks:
databases: null