forked from IQTLabs/SkyScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (72 loc) · 1.94 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.7'
services:
tracker:
build: ./tracker
entrypoint: "./flighttracker.py -m mqtt -l ${LAT} -L ${LONG} -a ${ALT} -P skyscan/planes/json -T skyscan/tracking/json -M ${MIN_ELEVATION} -c ${CAMERA_LEAD}"
depends_on:
- mqtt
restart: unless-stopped
adsb-mqtt:
build: ./adsb-mqtt
entrypoint: "./adsb-mqtt.py -H piaware -m mqtt -t skyscan/planes/json"
volumes:
- ./data:/app/data
depends_on:
- mqtt
- piaware
restart: unless-stopped
pan-tilt-pi:
build: ./pan-tilt-pi
entrypoint: "./camera.py -m mqtt -t skyscan/tracking/json"
volumes:
- /opt/vc:/opt/vc
- ./capture:/app/capture
devices:
- /dev/i2c-1:/dev/i2c-1
- "/dev/vchiq:/dev/vchiq"
environment:
- LD_LIBRARY_PATH=/opt/vc/lib
privileged: true
depends_on:
- mqtt
axis-ptz:
build: ./axis-ptz
entrypoint: "./camera.py -m mqtt -t skyscan/tracking/json -u ${AXIS_USERNAME} -p ${AXIS_PASSWORD} -a ${AXIS_IP} -z ${CAMERA_ZOOM} -s ${CAMERA_MOVE_SPEED} -d ${CAMERA_DELAY}"
volumes:
- ./capture:/app/capture
depends_on:
- mqtt
restart: unless-stopped
piaware:
image: mikenye/piaware:latest
tty: true
container_name: piaware
restart: always
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
mqtt:
build: ./mqtt
ports:
- "9001:9001"
- "1883:1883"
restart: unless-stopped
egi:
build: ./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
depends_on:
- mqtt
restart: unless-stopped