-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (62 loc) · 1.25 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
version: '2.1'
services:
streamer:
build:
context: .
dockerfile: streamer/streamer.Dockerfile
depends_on:
classifier:
condition: service_started
classifier:
build:
context: .
dockerfile: classifier/classifier.Dockerfile
ports:
- "8000"
depends_on:
database:
condition: service_healthy
database:
build:
context: .
dockerfile: database/database.Dockerfile
ports:
- "5432"
healthcheck:
test: "pg_isready -h localhost -p 5432 -q -U postgres"
interval: 3s
timeout: 5s
retries: 5
analyser:
build:
context: .
dockerfile: analyser/analyser.Dockerfile
depends_on:
cache:
condition: service_started
database:
condition: service_healthy
cache:
build:
context: cache
dockerfile: cache.Dockerfile
ports:
- "6379"
websocket:
build:
context: websocket
dockerfile: websocket.Dockerfile
ports:
- "8080:8080"
depends_on:
cache:
condition: service_started
web:
build:
context: .
dockerfile: web/web.Dockerfile
ports:
- "8000:80"
depends_on:
websocket:
condition: service_started