forked from IQTLabs/SkyScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (60 loc) · 1.68 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
version: '3.7'
services:
tracker:
image: iqtlabs/skyscan-tracker
command: "./flighttracker.py -m mqtt -H piaware -l ${LAT} -L ${LONG} -a ${ALT} -P skyscan/planes/json -T skyscan/flight/json -M ${MIN_ELEVATION} -c ${CAMERA_LEAD}"
volumes:
- ./data:/data
ports:
- 5000:5000
depends_on:
- mqtt
restart: unless-stopped
axis-ptz:
image: iqtlabs/skyscan-axis-ptz
command: "./camera.py -f -m mqtt -t skyscan/flight/json -u ${AXIS_USERNAME} -p ${AXIS_PASSWORD} -a ${AXIS_IP} -z ${CAMERA_ZOOM} -s ${CAMERA_MOVE_SPEED} -d ${CAMERA_DELAY} --lat ${LAT} --lon ${LONG} --alt ${ALT}"
volumes:
- /flash/raw:/app/capture
depends_on:
- mqtt
restart: unless-stopped
piaware:
image: iqtlabs/skyscan-piaware
tty: true
container_name: piaware
devices:
- /dev/bus/usb:/dev/bus/usb
ports:
- 8080:80
- 30003:30003
- 30005:30005
environment:
- TZ=${TZ}
- LAT=${LAT}
- LONG=${LONG}
- FEEDER_ID=${FEEDER_ID}
- RECEIVER_TYPE=rtlsdr
- DUMP1090_DEVICE=${RTL_DEV}
restart: unless-stopped
notebook:
image: iqtlabs/skyscan-notebook-server
ports:
- "8888:8888"
restart: unless-stopped
depends_on:
- mqtt
mqtt:
image: iqtlabs/skyscan-mqtt
ports:
- "9001:9001"
- "1883:1883"
restart: unless-stopped
egi:
image: iqtlabs/skyscan-egi
entrypoint: bash -c "gpsd ${GPS_SERIAL} -F /var/run/gpsd.sock && python3 egi_mqtt.py -m mqtt -l ${LAT} -L ${LONG} -a ${ALT} -r ${ROLL} -p ${PITCH} -y ${YAW}"
devices:
- /dev/ttyACM0
privileged: true
depends_on:
- mqtt
restart: unless-stopped