blob: e115ebd557e6a087c616bc30960b232f20427bf0 (
plain)
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
|
version: "3.5"
services:
praefect:
build:
context: ../../
dockerfile: Dockerfile.praefect
image: praefect:latest
depends_on:
- gitaly-primary
- gitaly-backup-1
- gitaly-backup-2
command: ["/etc/gitaly/praefect", "-config", "/etc/gitaly/config.praefect.toml"]
ports:
- "2305:2305"
volumes:
- ./config.praefect.toml:/etc/gitaly/config.praefect.toml
gitaly-primary:
image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
expose:
- "9999"
volumes:
- ./gitaly-primary/data:/var/opt/gitlab/git-data
- ./config.toml:/etc/config/config.toml
gitaly-backup-1:
image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
expose:
- "9999"
volumes:
- ./gitaly-backup-1/data:/var/opt/gitlab/git-data
- ./config.toml:/etc/config/config.toml
gitaly-backup-2:
image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
expose:
- "9999"
volumes:
- ./gitaly-backup-2/data:/var/opt/gitlab/git-data
- ./config.toml:/etc/config/config.toml
|