-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathdocker-compose.yaml
55 lines (54 loc) · 1.22 KB
/
docker-compose.yaml
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
version: "3.7"
services:
rabbitmq:
build: RabbitMQ/.
image: or-rabbitmq:latest
hostname: "rabbitmq"
container_name: rabbitmq
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
- "15674:15674"
labels:
NAME: "rabbitmq1"
frontend:
container_name: or-frontend
image: or-frontend:latest
restart: always
build: config-fe/.
stdin_open: true
volumes:
- '.:/app'
- '/app/node_modules'
ports:
- 3000:3000
backend:
container_name: backend
build: back-end/.
hostname: backend
environment:
- BACKEND_HOST=0.0.0.0
- BACKEND_PORT=5000
ports:
- "5000:5000"
object-detection:
container_name: or-obj-detection
restart: always
image: or-obj-detection:latest
build: yolo_object_detection/.
environment:
- RABBITMQ_URL=rabbitmq
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_MIG_CONFIG_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
- DISPLAY=:0.0
devices:
- /dev/snd
links:
- rabbitmq
privileged: true