-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (47 loc) · 1.92 KB
/
docker-compose.yml
File metadata and controls
57 lines (47 loc) · 1.92 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
services:
flightjar:
build:
context: .
dockerfile: dotnet/Dockerfile
image: flightjar:latest
container_name: flightjar
restart: unless-stopped
ports:
- "8080:8080"
environment:
# Hostname or IP of the readsb/dump1090/ultrafeeder process exposing the BEAST feed.
# If readsb runs in another compose project on the same host, either
# attach this service to that project's network or use network_mode: host.
BEAST_HOST: ultrafeeder
BEAST_PORT: "30005"
# Optional display name shown next to "Flightjar" in the UI and tab title.
# SITE_NAME: "Home Receiver"
LAT_REF: "52.0"
LON_REF: "-1.0"
# Anonymise the receiver location shown on the map + API.
# 0 (or unset) = show exact coords. 1 = snap to ~1 km grid. 10 = ~10 km grid.
# The true coords are still used internally for CPR decoding.
RECEIVER_ANON_KM: "0"
# File output inside the container; host path is set by the volume below.
#BEAST_OUTFILE: /data/beast.jsonl
BEAST_ROTATE: daily # none | hourly | daily
BEAST_ROTATE_KEEP: "14"
BEAST_STDOUT: "1" # "0" to silence docker logs
# BEAST_NO_DECODE: "1" # uncomment to skip Mode S decoding
SNAPSHOT_INTERVAL: "1.0"
# Re-download the aircraft DB on a schedule. 0 (or unset) = off; any
# positive number of hours = background refresh. Written atomically to
# /data/aircraft_db.csv.gz so it survives restarts.
# AIRCRAFT_DB_REFRESH_HOURS: "168" # weekly
# Origin/destination enrichment via adsbdb.com (free, no auth).
# On by default; set to 0 for offline / privacy-conscious deploys.
# FLIGHT_ROUTES: "1"
volumes:
- ./beast-logs:/data
# Uncomment one of the following if readsb isn't reachable by name:
# network_mode: host
networks:
- ultrafeeder_default
networks:
ultrafeeder_default:
external: true