forked from pazdzioch87/Drone-AI-Vision-Control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 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
58
59
version: '3.8'
services:
controlapi:
container_name: controlbroker
networks:
- mynetwork
build:
context: ./ControlBroker
dockerfile: Dockerfile
ports:
- 8001:8001
environment:
- ASPNETCORE_ENVIRONMENT=Development
- 'ASPNETCORE_URLS=http://+'
stdin_open: true
tty: true
nginx:
container_name: my_nginx_rtmp
ports:
- 1935:1935
- 7777:7777
networks:
- mynetwork
build:
context: ./StreamingServer
dockerfile: Dockerfile
aivision:
container_name: aivision
build:
context: ./AIVisionProcessing
dockerfile: Dockerfile
networks:
- mynetwork
command:
--source="rtmp://nginx/stream/stream"
--weights="drone_gestures.pt"
--process-connection
# --show-preview #we should not pass this argument because container doesn't have possibility to display anything
ngrok:
image: ngrok/ngrok:latest
restart: unless-stopped
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
volumes:
- ./ngrok.yml:/etc/ngrok.yml
ports:
- 4040:4040
networks:
- mynetwork
networks:
mynetwork:
driver: bridge