This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
63 lines (59 loc) · 1.99 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
version: '3.7'
services:
watchtower:
image: "containrrr/watchtower"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- ./config.json:/config.json
restart: unless-stopped
command: --cleanup
mqtt:
build: ./mqtt
ports:
- "9001:9001"
- "1883:1883"
restart: unless-stopped
s3upload:
build: ./s3upload
restart: unless-stopped
volumes:
- ./capture:/capture
- ./archive:/archive
environment:
- SECRET_KEY
- ACCESS_KEY
env_file:
- sb1IdInit.env
network_mode: "host"
dashboard:
build: ./dashboard-serve
ports:
- "80:80"
network_mode: "host"
detect:
build: ./detect
restart: unless-stopped
privileged: true
ports:
- "8888:8888"
- "7447:7447"
network_mode: "host"
env_file:
- sb1IdInit.env
volumes:
- ./capture:/app/capture
#entrypoint: "python3 -u detect.py --videosrc=net --netsrc=rtsp://192.168.1.7:7447/poJLP0wxMlbW5thN --model=june-25-mobilenet-v1-edgetpu.tflite --labels=june-25-labels.txt --top_k=10 --threshold=0.60 --include=truck"
entrypoint: "python3 -u detect.py --videosrc=net --netsrc=rtsp://192.168.1.7:7447/poJLP0wxMlbW5thN --top_k=10 --threshold=0.60 --include=truck"
#entrypoint: "python3 -u detect.py --videosrc=dev --camera_idx=0 --top_k=10 --threshold=0.60 --include=truck" # Coral Camera
#entrypoint: "python3 -u detect.py --videosrc=net --netsrc=rtsp://192.168.10.32:554/s0 --top_k=10 --threshold=0.60 --include=truck" # UniFi G3 IP Camera
monitor:
build: ./monitor
depends_on:
- mqtt
network_mode: "host"
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
ports:
- "7447:7447"
env_file:
- sb1IdInit.env