forked from wal-g/wal-g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
104 lines (95 loc) · 2.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
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/deleteretainfullbucket
&& mkdir -p /export/deleteretainfindfullbucket
&& mkdir -p /export/deletebeforenamefindfullbucket
&& mkdir -p /export/deletebeforetimefindfullbucket
&& mkdir -p /export/deletewithoutconfirm
&& mkdir -p /export/deleteendtoendbucket
&& mkdir -p /export/mysqlfullbucket
&& mkdir -p /export/mysqlbinlogpushbucket
&& mkdir -p /export/mysqldeleteendtoendbucket
&& 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