-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.yml
80 lines (74 loc) · 2.01 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3'
services:
ftp:
image: jiushuokj/ftp
container_name: ftp
ports:
- "20:20"
- "21:21"
- "21100-21110:21100-21110"
volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine
- "${UAV_DATA}/result:/home/vsftpd/admin"
# - "./passwd:/etc/pure-ftpd/passwd"
environment:
FTP_USER: admin
FTP_PASS: 123
PASV_ADDRESS: $IP_LOCAL
PASV_MIN_PORT: 21100
restart: always
privileged: true # 添加权限
emq:
image: jiushuokj/mqtt
container_name: emqx
ports:
- "18083:18083"
- "1883:1883"
- "8084:8084"
- "8883:8883"
- "8083:8083"
restart: always
mapper:
#docker image save at 192.168.5.10
image: jiushuokj/mapper
container_name: mapper
depends_on:
- emq
ports:
- "9099:9099"
volumes:
- "${UAV_DATA}/result/WaypointMission:/fig"
- "${UAV_DATA}/result/map:/map"
# 192.168.8.149 is the emq server ip
# command: ["192.168.8.140","1883"]
command: ["${IP_LOCAL}","1883"]
privileged: true # 添加权限
restart: always
rtmp:
image: jiushuokj/rtmp
container_name: rtmp
ports:
- "1935:1935"
- "8090:80"
restart: always
task:
image: jiushuokj/uav-task-server
container_name: task
ports:
- "8080:8080"
volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine
- "${UAV_DATA}/result:/home/task/result" # result的目录也就是ftp的目录
- "${UAV_DATA}/json:/home/task/json" # 航点航线数据集
privileged: true # 添加权限
restart: always
videobridge:
image: jiushuokj/videobridge
container_name: videobridge
depends_on:
- emq
ports:
- "33330-33339:33330-33339/udp"
volumes:
- "${UAV_DATA}/result/map:/map"
- "${UAV_DATA}/result/WaypointMission:/fig"
command: ["${IP_LOCAL}","33330"]
restart: always