forked from wal-g/wal-g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
132 lines (121 loc) · 3.22 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
version: '3'
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
container_name: wal-g_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/fullscandeltabucket
&& mkdir -p /export/cryptobucket
&& mkdir -p /export/waldeltabucket
&& mkdir -p /export/ghostbucket
&& mkdir -p /export/compressionbucket
&& 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/mysqlfullbucket
&& mkdir -p /export/mysqlbinlogpushbucket
&& mkdir -p /export/mysqldeleteendtoendbucket
&& mkdir -p /export/mongostreampushbucket
&& mkdir -p /export/mongooplogpushbucket
&& mkdir -p /export/mongodeletebeforebucket
&& mkdir -p /export/mongodeleteretainbucket
&& mkdir -p /export/redisbucket
&& /usr/bin/minio server /export'
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
env_file:
- docker/common/common_walg.env
- docker/pg_tests/walg.env
depends_on:
- s3
links:
- s3
mysql:
build:
dockerfile: docker/mysql/Dockerfile
context: .
image: wal-g/mysql
container_name: wal-g_mysql
mysql_tests:
build:
dockerfile: docker/mysql_tests/Dockerfile
context: .
image: wal-g/mysql_tests
container_name: wal-g_mysql_tests
env_file:
- docker/common/common_walg.env
- docker/mysql_tests/walg.env
depends_on:
- s3
links:
- s3
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
mongo:
build:
dockerfile: docker/mongo/Dockerfile
context: .
image: wal-g/mongo
container_name: wal-g_mongo
mongo_tests:
build:
dockerfile: docker/mongo_tests/Dockerfile
context: .
image: wal-g/mongo_tests
container_name: wal-g_mongo_tests
env_file:
- docker/common/common_walg.env
depends_on:
- s3
links:
- s3