-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
104 lines (96 loc) · 2.39 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
services:
transcoder-rabbitmq:
container_name: transcoder-rabbitmq
image: rabbitmq:3.9.7-management-alpine
environment:
RABBITMQ_DEFAULT_USER: test
RABBITMQ_DEFAULT_PASS: test
ports:
- '5672:5672'
- '15672:15672'
healthcheck:
test: ['CMD', 'rabbitmqctl', 'status']
interval: 5s
timeout: 30s
retries: 5
transcoder-redis:
container_name: transcoder-redis
image: 'bitnami/redis:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '6379:6379'
transcoder-api:
container_name: transcoder-api
build:
context: .
dockerfile: ./apps/api/Dockerfile
environment:
- NODE_ENV=development
ports:
- '5000:5000'
depends_on:
transcoder-redis:
condition: service_started
transcoder-rabbitmq:
condition: service_healthy
transcoder-downloader:
container_name: transcoder-downloader
build:
context: .
dockerfile: ./apps/downloader/Dockerfile
environment:
- NODE_ENV=development
depends_on:
transcoder-rabbitmq:
condition: service_healthy
volumes:
- shared-storage:/shared
transcoder-encoding-director:
container_name: transcoder-encoding-director
build:
context: .
dockerfile: ./apps/encoding-director/Dockerfile
environment:
- NODE_ENV=development
depends_on:
transcoder-rabbitmq:
condition: service_healthy
transcoder-encoder:
container_name: transcoder-encoder
build:
context: .
dockerfile: ./apps/encoder/Dockerfile
environment:
- NODE_ENV=development
depends_on:
transcoder-rabbitmq:
condition: service_healthy
volumes:
- shared-storage:/shared
transcoder-uploader:
container_name: transcoder-uploader
build:
context: .
dockerfile: ./apps/uploader/Dockerfile
environment:
- NODE_ENV=development
depends_on:
transcoder-rabbitmq:
condition: service_healthy
volumes:
- shared-storage:/shared
transcoder-playlist-sticher:
container_name: transcoder-playlist-sticher
build:
context: .
dockerfile: ./apps/playlist-sticher/Dockerfile
environment:
- NODE_ENV=development
depends_on:
transcoder-rabbitmq:
condition: service_healthy
volumes:
- shared-storage:/shared
volumes:
shared-storage: