-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.12 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
version: '3'
services:
scarecrow-server:
build: .
image: scarecrow
networks:
scarecrow-net:
ipv4_address: 10.1.0.100
ports:
- "5455:5454"
- "5557:5557"
volumes:
- ./conf:/config
- ./models/research/object_detection/data:/models
command: ["/usr/local/bin/scarecrow_server", "--config", "/config"]
deploy:
restart_policy:
condition: any
scarecrow-camera:
build: .
image: scarecrow
networks:
scarecrow-net:
ipv4_address: 10.1.0.101
ports:
- "5454:5454"
- "5558:5558"
volumes:
- ./conf:/config
- ./resources/audio_files:/data
devices:
- /dev/video2:/dev/video0
deploy:
restart_policy:
condition: any
command: ["/usr/local/bin/scarecrow_client", "--config", "/config", "--input", "0"]
depends_on:
- scarecrow-server
networks:
scarecrow-net:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.1.0.0/24