-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (71 loc) · 2.34 KB
/
docker-compose.yml
File metadata and controls
73 lines (71 loc) · 2.34 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
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
services:
readsb:
image: docker.io/blackoutsecure/readsb:latest
container_name: readsb
environment:
TZ: Etc/UTC
READSB_NET: 'true'
READSB_DEVICE_TYPE: 'rtlsdr'
READSB_NET_BI_PORT: '30004,30104'
READSB_NET_BO_PORT: '30005'
READSB_AUTO_LOCATION: 'true'
READSB_AUTOGAIN: 'true'
READSB_BIASTEE: 'false'
FEED_PROFILES: 'adsbexchange'
LOG_LEVEL: 'info'
volumes:
- readsb-config:/config
- readsb-json:/run/readsb
devices:
- /dev/bus/usb:/dev/bus/usb
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.firmware: '1'
io.balena.features.dbus: '1'
io.balena.features.supervisor-api: '1'
io.balena.features.balena-api: '1'
ports:
- '30001:30001'
- '30002:30002'
- '30003:30003'
- '30004:30004'
- '30005:30005'
- '30104:30104'
# Required to unbind the dvb_usb_rtl28xxu / rtl2832 kernel modules from
# the RTL-SDR dongle and to invoke rtl_eeprom / rtl_biast against
# /dev/bus/usb. The /dev/bus/usb device-cgroup rule on Balena hosts
# only grants character-device access, not the USB-detach ioctl.
privileged: true
tmpfs:
- /tmp
- /run:exec
restart: unless-stopped
# ── MLAT Client (ADSBexchange) ──────────────────────────────────────────────
# Shares readsb's /config volume so both services use the SAME feeder UUID.
# readsb writes /config/feed-uuid-adsbexchange; mlat-client reads it.
mlat-client:
image: docker.io/blackoutsecure/mlat-client:latest
container_name: mlat-adsbx
depends_on:
- readsb
environment:
TZ: Etc/UTC
MLAT_CLIENT_INPUT_CONNECT: 'readsb:30005'
MLAT_CLIENT_SERVER: 'feed.adsbexchange.com:31090'
MLAT_CLIENT_AUTO_LOCATION: 'true'
MLAT_CLIENT_USER_ID: 'changeme' # <── set your feeder name
MLAT_CLIENT_UUID_FILE: '/config/feed-uuid-adsbexchange'
MLAT_CLIENT_RESULTS: 'beast,connect,readsb:30104'
LOG_LEVEL: 'info'
volumes:
- readsb-config:/config:ro
labels:
io.balena.features.supervisor-api: '1'
io.balena.features.balena-api: '1'
tmpfs:
- /tmp
- /run:exec
restart: unless-stopped
volumes:
readsb-config:
readsb-json: