forked from wiedehopf/tar1090
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 1.61 KB
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (42 loc) · 1.61 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
services:
tar1090:
build:
context: .
dockerfile: Dockerfile
container_name: tar1090
hostname: tar1090
restart: unless-stopped
network_mode: host
environment:
- TZ=UTC
# readsb config (built into docker-tar1090)
- READSB_DEVICE_TYPE=none
- READSB_NET_ENABLE=true
- READSB_NET_CONNECTOR=${READSB_NET_CONNECTOR:-}
- READSB_LAT=${RECEIVER_LAT:-0}
- READSB_LON=${RECEIVER_LON:-0}
- READSB_ALT=${RECEIVER_ALT:-0}
- READSB_RX_LOCATION_ACCURACY=2
- READSB_STATS_RANGE=true
# tar1090 map config
- LAT=${RECEIVER_LAT:-0}
- LONG=${RECEIVER_LON:-0}
- TAR1090_DEFAULTCENTERLAT=${RECEIVER_LAT:-0}
- TAR1090_DEFAULTCENTERLON=${RECEIVER_LON:-0}
# adsb.lol proxy config
- ADSBLOL_ENABLED=${ADSBLOL_ENABLED:-false}
- RECEIVER_LAT=${RECEIVER_LAT:-0}
- RECEIVER_LON=${RECEIVER_LON:-0}
- ADSBLOL_RADIUS=${ADSBLOL_RADIUS:-40}
- PROXY_PORT=3005
# SD-card endurance: run the graphs1090 RRD set from the /run tmpfs below
# and write it back as a single gzipped tarball, instead of 48 scattered
# in-place RRD updates every 60s. Only effective because /run is tmpfs.
- GRAPHS1090_REDUCE_IO=true
tmpfs:
# /run holds volatile runtime state (readsb JSON at 1 Hz, tar1090 chunks,
# graphs1090 PNGs, s6 service dirs) and is tmpfs on any normal install.
# On the container overlay it cost ~7 GB/day of SD-card writes for ~8 KB/min
# of real data. exec is required: s6-overlay execs its service scripts here.
- /run:exec,size=64M
- /var/log:size=32M