-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (54 loc) · 1.39 KB
/
Copy pathdocker-compose.yml
File metadata and controls
59 lines (54 loc) · 1.39 KB
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
version: '3'
services:
mysql:
build: ./mysql
ports:
- "3306:3306"
volumes:
- ./mysql/dumps/Dump20211116.sql:/docker-entrypoint-initdb.d/dump.sql
- ./mysql/data:/var/lib/mysql
- ./mysql/my.cnf:/etc/my.cnf
environment:
MYSQL_ROOT_PASSWORD: 123456
restart: always
container_name: mysql
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3.8.3
restart: always
ports:
- 5672:5672
- 15672:15672
# environment:
# - RABBITMQ_DEFAULT_USER=admin
# - RABBITMQ_DEFAULT_PASS=123456
temporary_storage:
build: ./temporary_storage
volumes:
- ./temporary_storage/output:/opt/temporary_storage/output
- ./temporary_storage/input:/opt/temporary_storage/input
ports:
- "9003:9003"
restart: always
container_name: temporary_storage
gateway:
build: ./gateway
# volumes:
# - ./api/m1_yolo/output:/opt/object_detection_video/output
# - ./api/m1_yolo/videos:/opt/object_detection_video/videos
ports:
- "9005:9005"
restart: always
# command: "python3 wait.py"
container_name: gateway
m1_yolo:
build: ./api/m1_yolo
volumes:
- ./api/m1_yolo/output:/opt/object_detection_video/output
- ./api/m1_yolo/videos:/opt/object_detection_video/videos
restart: always
links:
- rabbitmq
depends_on:
- rabbitmq
container_name: yolo