forked from wal-g/wal-g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
744 lines (679 loc) · 18.9 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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
version: '3'
volumes:
fdb_volume:
services:
golang:
build:
dockerfile: ./docker/golang/Dockerfile
context: .
image: wal-g/golang
container_name: wal-g_golang
ubuntu:
build:
dockerfile: ./docker/ubuntu/Dockerfile
context: .
image: wal-g/ubuntu
container_name: wal-g_ubuntu
s3:
image: minio/minio:RELEASE.2021-06-07T21-40-51Z
container_name: wal-g_s3
hostname: s3
ports:
- "9000:9000"
environment:
- "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE"
- "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
entrypoint: sh
command: >
-c 'mkdir -p /export/fullbucket
&& mkdir -p /export/fullratingcomposerbucket
&& mkdir -p /export/fullcopycomposerbucket
&& mkdir -p /export/fullwithoutfilesmetadatabucket
&& mkdir -p /export/fullscandeltabucket
&& mkdir -p /export/remotebucket
&& mkdir -p /export/remotewithoutfilesmetadatabucket
&& mkdir -p /export/cryptobucket
&& mkdir -p /export/waldeltabucket
&& mkdir -p /export/ghostbucket
&& mkdir -p /export/compressionbucket
&& mkdir -p /export/copyallbucket
&& mkdir -p /export/copybackupbucket
&& mkdir -p /export/compressionreversebucket
&& mkdir -p /export/deleteretainfullbucket
&& mkdir -p /export/deleteretainfindfullbucket
&& mkdir -p /export/deletebeforenamefindfullbucket
&& mkdir -p /export/deletebeforetimefindfullbucket
&& mkdir -p /export/deletebeforepermanentfullbucket
&& mkdir -p /export/deletebeforepermanentdeltabucket
&& mkdir -p /export/deletewithoutconfirm
&& mkdir -p /export/deleteendtoendbucket
&& mkdir -p /export/deletetargetbucket
&& mkdir -p /export/gpdeletetargetbucket
&& mkdir -p /export/deletegarbagebucket
&& mkdir -p /export/gpdeletegarbagebucket
&& mkdir -p /export/mysqlfullxtrabackupbucket
&& mkdir -p /export/mysqlfullxtrabackupwithrangesbucket
&& mkdir -p /export/mysqlfullmysqldumpbucket
&& mkdir -p /export/mysqlbinlogpushfetchbucket
&& mkdir -p /export/mysqldeleteendtoendbucket
&& mkdir -p /export/mysqldeleteeverythingpermanent
&& mkdir -p /export/mysqlmarkbucket
&& mkdir -p /export/mysqlbinlogreplaybucket
&& mkdir -p /export/mysqlpitrxtrabackupbucket
&& mkdir -p /export/mysqlpitrmysqldumpbucket
&& mkdir -p /export/mysqllivereplay
&& mkdir -p /export/mysqlpermanentbackupbucket
&& mkdir -p /export/mariadb_binlog_push_fetch
&& mkdir -p /export/mariadb_binlog_push_with_gtids_check
&& mkdir -p /export/mariadb_full_mysqldump
&& mkdir -p /export/mariadb_full_maria_backup
&& mkdir -p /export/mariadb_pitr_xtrabackup
&& mkdir -p /export/mongostreampushbucket
&& mkdir -p /export/mongooplogpushbucket
&& mkdir -p /export/mongodeletebeforebucket
&& mkdir -p /export/mongodeleteretainbucket
&& mkdir -p /export/redisbucket
&& mkdir -p /export/mysqlcopybackupfrom
&& mkdir -p /export/mysqlcopybackupto
&& mkdir -p /export/mysqlconfonly
&& mkdir -p /export/mysqldeletebinlogs
&& mkdir -p /export/archivereadyrename
&& mkdir -p /export/gpfullbucket
&& mkdir -p /export/gpfullserializedbucket
&& mkdir -p /export/gpdeletewithoutconfirm
&& mkdir -p /export/gpdeleteretainbucket
&& mkdir -p /export/gpdeleteendtoendbucket
&& mkdir -p /export/gpdeletebeforepermanentbucket
&& mkdir -p /export/gpdeletebeforenamebucket
&& mkdir -p /export/gpdeletebeforetimebucket
&& mkdir -p /export/gpaostoragetestbucket
&& mkdir -p /export/gpdeltabackuptestbucket
&& mkdir -p /export/createrestorepointbucket
&& mkdir -p /export/storagetoolsbucket
&& mkdir -p /export/walrestorebucket
&& /usr/bin/minio server /export'
s3-another:
image: minio/minio:RELEASE.2021-06-07T21-40-51Z
container_name: wal-g_s32
ports:
- "9001:9001"
environment:
- "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLEBUTANOHER"
- "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEYBUTANOTHERTOO"
entrypoint: sh
command: >
-c 'mkdir -p /export/mysqlcopybackupto
&& /usr/bin/minio server /export'
ssh:
build:
dockerfile: docker/ssh/Dockerfile
context: .
container_name: wal-g_ssh
ports:
- "6942:6942"
pg:
build:
dockerfile: docker/pg/Dockerfile
context: .
image: wal-g/pg
container_name: wal-g_pg
pg_tests:
build:
dockerfile: docker/pg_tests/Dockerfile
context: .
image: wal-g/pg_tests
container_name: wal-g_pg_tests
pg_build_docker_prefix:
build:
dockerfile: docker/pg_tests/Dockerfile_prefix
context: .
image: wal-g/docker_prefix
container_name: wal-g_pg_docker_prefix
depends_on:
- s3
links:
- s3
pg_ready_rename_test:
build:
dockerfile: docker/pg_tests/Dockerfile_archiving_ready_rename_test
context: .
image: wal-g/archiving_ready_rename_test
container_name: archiving_ready_rename_test
depends_on:
- s3
links:
- s3
pg_delete_before_permanent_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_before_permanent_full_test
context: .
image: wal-g/delete_before_permanent_full_test
container_name: wal-g_pg_delete_before_permanent_full_test
depends_on:
- s3
links:
- s3
pg_backup_mark_permanent_test:
build:
dockerfile: docker/pg_tests/Dockerfile_backup_mark_permanent_test
context: .
image: wal-g/backup_mark_permanent_test
container_name: wal-g_pg_backup_mark_permanent_test
depends_on:
- s3
links:
- s3
pg_backup_mark_permanent_no_error_test:
build:
dockerfile: docker/pg_tests/Dockerfile_backup_mark_permanent_no_error_test
context: .
image: wal-g/backup_mark_permanent_no_error_test
container_name: wal-g_pg_backup_mark_permanent_no_error_test
depends_on:
- s3
links:
- s3
pg_backup_mark_impermanent_test:
build:
dockerfile: docker/pg_tests/Dockerfile_backup_mark_impermanent_test
context: .
image: wal-g/backup_mark_impermanent_test
container_name: wal-g_pg_backup_mark_impermanent_test
depends_on:
- s3
links:
- s3
pg_delete_before_permanent_delta_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_before_permanent_delta_test
context: .
image: wal-g/delete_before_permanent_delta_test
container_name: wal-g_pg_delete_before_permanent_delta_test
depends_on:
- s3
links:
- s3
pg_wal_perftest:
build:
dockerfile: docker/pg_tests/Dockerfile_wal_perftest
context: .
image: wal-g/wal_perftest
container_name: wal-g_pg_wal_perftest
depends_on:
- s3
links:
- s3
pg_backup_perftest:
build:
dockerfile: docker/pg_tests/Dockerfile_backup_perftest
context: .
image: wal-g/backup_perftest
container_name: wal-g_pg_backup_perftest
depends_on:
- s3
links:
- s3
pg_delete_before_name_find_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_before_name_find_full_test
context: .
image: wal-g/delete_before_name_find_full_test
container_name: wal-g_pg_delete_before_name_find_full_test
depends_on:
- s3
links:
- s3
pg_delete_retain_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_retain_full_test
context: .
image: wal-g/delete_retain_full_test
container_name: wal-g_pg_delete_retain_full_test
depends_on:
- s3
links:
- s3
pg_full_backup_test:
build:
dockerfile: docker/pg_tests/Dockerfile_full_backup_test
context: .
image: wal-g/full_backup_test
container_name: wal-g_pg_full_backup_test
depends_on:
- s3
links:
- s3
pg_full_backup_streamed_test:
build:
dockerfile: docker/pg_tests/Dockerfile_full_backup_streamed_test
context: .
image: wal-g/full_backup_streamed_test
container_name: wal-g_pg_full_backup_streamed_test
depends_on:
- s3
links:
- s3
pg_remote_backup_test:
build:
dockerfile: docker/pg_tests/Dockerfile_remote_backup_test
context: .
image: wal-g/remote_backup_test
container_name: wal-g_pg_remote_backup_test
depends_on:
- s3
links:
- s3
pg_remote_backup_without_files_metadata_test:
build:
dockerfile: docker/pg_tests/Dockerfile_remote_backup_without_files_metadata_test
context: .
image: wal-g/remote_backup_without_files_metadata_test
container_name: wal-g_pg_remote_backup_without_files_metadata_test
depends_on:
- s3
links:
- s3
pg_ssh_backup_test:
build:
dockerfile: docker/pg_tests/Dockerfile_ssh_backup_test
context: .
image: wal-g/ssh_backup_test
container_name: wal-g_pg_ssh_backup_test
depends_on:
- ssh
links:
- ssh
pg_receive_wal_test:
build:
dockerfile: docker/pg_tests/Dockerfile_receive_wal_test
context: .
image: wal-g/receive_wal_test
container_name: wal-g_pg_receive_wal_test
depends_on:
- s3
links:
- s3
pg_full_backup_copy_composer_test:
build:
dockerfile: docker/pg_tests/Dockerfile_full_backup_copy_composer_test
context: .
image: wal-g/full_backup_copy_composer_test
container_name: wal-g_pg_full_backup_copy_composer_test
depends_on:
- s3
links:
- s3
pg_full_backup_rating_composer_test:
build:
dockerfile: docker/pg_tests/Dockerfile_full_backup_rating_composer_test
context: .
image: wal-g/full_backup_rating_composer_test
container_name: wal-g_pg_full_backup_rating_composer_test
depends_on:
- s3
links:
- s3
pg_full_backup_without_files_metadata_test:
build:
dockerfile: docker/pg_tests/Dockerfile_full_backup_without_files_metadata_test
context: .
image: wal-g/full_backup_without_files_metadata_test
container_name: wal-g_pg_full_backup_without_files_metadata_test
depends_on:
- s3
links:
- s3
pg_delete_before_time_find_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_before_time_find_full_test
context: .
image: wal-g/delete_before_time_find_full_test
container_name: wal-g_pg_delete_before_time_find_full_test
depends_on:
- s3
links:
- s3
pg_delete_without_confirm_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_without_confirm_test
context: .
image: wal-g/delete_without_confirm_test
container_name: wal-g_pg_delete_without_confirm_test
depends_on:
- s3
links:
- s3
pg_delete_garbage_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_garbage_test
context: .
image: wal-g/delete_garbage_test
container_name: wal-g_pg_delete_garbage_test
depends_on:
- s3
links:
- s3
pg_delete_target_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_target_test
context: .
image: wal-g/delete_target_test
container_name: wal-g_pg_delete_target_test
depends_on:
- s3
links:
- s3
pg_delete_target_delta_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_target_delta_test
context: .
image: wal-g/delete_target_delta_test
container_name: wal-g_pg_delete_target_delta_test
depends_on:
- s3
links:
- s3
pg_delete_target_delta_find_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_target_delta_find_full_test
context: .
image: wal-g/delete_target_delta_find_full_test
container_name: wal-g_pg_delete_target_delta_find_full_test
depends_on:
- s3
links:
- s3
pg_ghost_table_test:
build:
dockerfile: docker/pg_tests/Dockerfile_ghost_table_test
context: .
image: wal-g/ghost_table_test
container_name: wal-g_pg_ghost_table_test
depends_on:
- s3
links:
- s3
pg_config_test:
build:
dockerfile: docker/pg_tests/Dockerfile_config_test
context: .
image: wal-g/config_test
container_name: wal-g_pg_config_test
depends_on:
- s3
links:
- s3
pg_delete_end_to_end_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_end_to_end_test
context: .
image: wal-g/delete_end_to_end_test
container_name: wal-g_pg_delete_end_to_end_test
depends_on:
- s3
links:
- s3
pg_delta_backup_fullscan_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delta_backup_fullscan_test
context: .
image: wal-g/delta_backup_fullscan_test
container_name: wal-g_pg_delta_backup_fullscan_test
depends_on:
- s3
links:
- s3
pg_several_delta_backups_test:
build:
dockerfile: docker/pg_tests/Dockerfile_several_delta_backups_test
context: .
image: wal-g/several_delta_backups_test
container_name: wal-g_pg_several_delta_backups_test
depends_on:
- s3
links:
- s3
pg_several_delta_backups_reverse_test:
build:
dockerfile: docker/pg_tests/Dockerfile_several_delta_backups_reverse_test
context: .
image: wal-g/several_delta_backups_reverse_test
container_name: wal-g_pg_several_delta_backups_reverse_test
depends_on:
- s3
links:
- s3
pg_crypto_test:
build:
dockerfile: docker/pg_tests/Dockerfile_crypto_test
context: .
image: wal-g/crypto_test
container_name: wal-g_pg_crypto_test
depends_on:
- s3
links:
- s3
pg_delete_retain_find_full_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delete_retain_find_full_test
context: .
image: wal-g/delete_retain_find_full_test
container_name: wal-g_pg_delete_retain_find_full_test
depends_on:
- s3
links:
- s3
pg_delta_backup_wal_delta_test:
build:
dockerfile: docker/pg_tests/Dockerfile_delta_backup_wal_delta_test
context: .
image: wal-g/delta_backup_wal_delta_test
container_name: wal-g_pg_delta_backup_wal_delta_test
depends_on:
- s3
links:
- s3
pg_wale_compatibility_test:
build:
dockerfile: docker/pg_tests/Dockerfile_wale_compatibility_test
context: .
image: wal-g/wale_compatibility_test
container_name: wal-g_pg_wale_compatibility_test
depends_on:
- s3
links:
- s3
pg_wale_tablespace_compatibility_test:
build:
dockerfile: docker/pg_tests/Dockerfile_wale_tablespace_compatibility_test
context: .
image: wal-g/wale_tablespace_compatibility_test
container_name: wal-g_pg_wale_tablespace_compatibility_test
env_file:
- docker/common/common_walg.env
- docker/pg_tests/walg.env
depends_on:
- s3
links:
- s3
pg_tablespace_support_test:
build:
dockerfile: docker/pg_tests/Dockerfile_tablespace_support_test
context: .
image: wal-g/tablespace_support_test
container_name: wal-g_pg_tablespace_support_test
env_file:
- docker/common/common_walg.env
- docker/pg_tests/walg.env
depends_on:
- s3
links:
- s3
pg_catchup_test:
build:
dockerfile: docker/pg_tests/Dockerfile_catchup_test
context: .
image: wal-g/catchup_test
container_name: wal-g_pg_catchup_test
depends_on:
- s3
links:
- s3
pg_wal_restore_test:
build:
dockerfile: docker/pg_tests/Dockerfile_wal_restore_test
context: .
image: wal-g/wal_restore_test
container_name: wal-g_pg_wal_restore_test
depends_on:
- s3
links:
- s3
pg_pgbackrest:
build:
dockerfile: docker/pg_tests/Dockerfile_pgbackrest
context: .
image: wal-g/docker_pgbackrest
container_name: wal-g_docker_pgbackrest
pg_pgbackrest_backup_fetch_test:
build:
dockerfile: docker/pg_tests/Dockerfile_pgbackrest_backup_fetch_test
context: .
image: wal-g/pgbackrest_backup_fetch_test
container_name: wal-g_pgbackrest_backup_fetch_test
depends_on:
- s3
links:
- s3
mysql:
build:
dockerfile: docker/mysql/Dockerfile
context: .
image: wal-g/mysql
container_name: wal-g_mysql
mysql_base_tests:
build:
dockerfile: docker/mysql_tests/Dockerfile_base
context: .
security_opt:
- seccomp:unconfined
image: wal-g/mysql_tests
container_name: wal-g_mysql_base_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3
mysql_delete_tests:
build:
dockerfile: docker/mysql_tests/Dockerfile_delete
context: .
security_opt:
- seccomp:unconfined
image: wal-g/mysql_tests
container_name: wal-g_mysql_delete_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3
mysql_copy_tests:
build:
dockerfile: docker/mysql_tests/Dockerfile_copy
context: .
security_opt:
- seccomp:unconfined
image: wal-g/mysql_tests
container_name: wal-g_mysql_copy_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
- s3-another
links:
- s3
- s3-another
mariadb:
build:
dockerfile: docker/mariadb/Dockerfile
context: .
image: wal-g/mariadb
container_name: wal-g_mariadb
mariadb_tests:
build:
dockerfile: docker/mariadb_tests/Dockerfile
context: .
security_opt:
- seccomp:unconfined
image: wal-g/mariadb_tests
container_name: wal-g_mariadb_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3
fdb:
image: foundationdb/foundationdb
container_name: wal-g_fdb
volumes:
- fdb_volume:/var/fdb
fdb_tests:
build:
dockerfile: docker/fdb_tests/Dockerfile
context: .
image: wal-g/fdb_tests
container_name: wal-g_fdb_tests
volumes:
- fdb_volume:/var/fdb
depends_on:
- fdb
redis:
build:
dockerfile: docker/redis/Dockerfile
context: .
image: wal-g/redis
container_name: wal-g_redis
redis_tests:
build:
dockerfile: docker/redis_tests/Dockerfile
context: .
image: wal-g/redis_tests
container_name: wal-g_redis_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3
gp:
build:
dockerfile: docker/gp/Dockerfile
context: .
image: wal-g/gp
container_name: wal-g_gp
gp_tests:
build:
dockerfile: docker/gp_tests/Dockerfile
context: .
image: wal-g/gp_tests
container_name: wal-g_gp_tests
depends_on:
- gp
- s3
links:
- s3
st_tests:
build:
dockerfile: docker/st_tests/Dockerfile
context: .
image: wal-g/st_tests
container_name: wal-g_st_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3