-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (56 loc) · 1.11 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
version: '3'
services:
frontend:
image: registry.gitlab.com/gitmate/open-source/gitmate-2-frontend:latest
command: "ng serve --delete-output-path=false -H 0.0.0.0"
ports:
- "4200:4200"
dind:
image: docker:stable-dind
privileged: true
db:
image: postgres:9.6
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
rabbit:
hostname: rabbit
image: rabbitmq:3.6
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=password
backend:
build: .
ports:
- "8000:8000"
env_file: ./docker/environment
links:
- db
- rabbit
depends_on:
- db
worker:
build: .
command: ./docker/run-worker.sh
env_file: ./docker/environment
environment:
- DOCKER_HOST=tcp://dind:2375
links:
- db
- rabbit
- dind
depends_on:
- rabbit
- backend
- dind
beat:
build: .
command: ./docker/run-beat.sh
env_file: ./docker/environment
links:
- db
- rabbit
depends_on:
- rabbit
- backend