forked from prisma/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
335 lines (309 loc) Β· 7.44 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
334
335
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.22
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
vitess-test-5_7:
image: vitess/vttestserver:mysql57@sha256:b1f8eed5d43e3836a65e2cb4b373441a92989bb44af0c352b195f058ce139c08
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:5fec546e3f2ba50237b78938982a72bf17eacbc97f18ab877774f22d6e2e9682
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:b1f8eed5d43e3836a65e2cb4b373441a92989bb44af0c352b195f058ce139c08
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:5fec546e3f2ba50237b78938982a72bf17eacbc97f18ab877774f22d6e2e9682
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
mongo4-single:
image: mongo: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
jaeger:
image: jaegertracing/all-in-one:latest
restart: always
ports:
- "16686:16686" # the trace viewer (http)
networks:
- telemetry
otel-agent:
image: otel/opentelemetry-collector-dev:latest
command: [ "--config=/etc/otel-agent-config.yaml" ]
restart: always
volumes:
- ./otel-agent-config.yaml:/etc/otel-agent-config.yaml
ports:
- 13133:13133 # health check port
- 16686:16686 # UI viewer
- 4317:55680 # Otel endpoint
networks:
databases: null
telemetry: null