-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (57 loc) · 1.21 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
version: '3.7'
services:
nginx:
image: fruits-detector/nginx-rtmp
restart: always
depends_on:
- api
build:
context: ./nginx-rtmp
ports:
- 1935:1935
- 8080:80
api:
image: fruits-detector/api
restart: always
depends_on:
- mongo
- rabbitmq
build:
context: ./api
ports:
- 5000:5000
detector:
image: fruits-detector/detector
restart: always
depends_on:
- rabbitmq
- nginx
build:
context: ./detector
# volumes:
# - ./detector/input:/usr/src/app/input
front:
image: fruits-detector/front
restart: always
depends_on:
- api
build:
context: ./front
ports:
- 80:8080
mongo:
image: mongo
restart: always
ports:
- 27017:27017
volumes:
- mongodb:/data/db
- mongodb_config:/data/configdb
rabbitmq:
image: rabbitmq:3-management
restart: always
ports:
- 15672:15672
volumes:
mongodb:
mongodb_config: