-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.24 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
version: "3"
services:
tags_database:
image: "postgres"
env_file:
- database.env
volumes:
- "tags_data:/var/lib/postgresql/mdata/"
networks:
- tags_net
ports:
- "3411:5432"
preprocessor:
build: ./preprocessor
command: tail -F anything
depends_on:
- tags_database
networks:
- tags_net
ports:
- "3111:3111"
prediction:
build: ./prediction
depends_on:
- tags_database
networks:
- tags_net
ports:
- "3211:3211"
webpage:
build: ./webpage
depends_on:
- tags_database
- preprocessor
- prediction
command:
[
"./wait-for-it.sh",
"preprocessor:3111",
"-t",
"0",
"--",
"python",
"main.py",
]
networks:
- tags_net
ports:
- "3311:3311"
volumes:
tags_data:
networks:
tags_net:
driver: bridge