-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-build.yml
72 lines (64 loc) · 1.53 KB
/
docker-compose-build.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
version: '2'
x-latlon: &latlon
LAT: ""
LONG: ""
x-wingbits-device: &wingbits-device
WINGBITS_DEVICE_ID: ""
x-tz: &timezone "America/New_York" #https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
services:
dump1090-fa:
build: ./dump1090-fa
image: dump1090-fa
restart: always
environment:
<<: *latlon
DUMP1090_DEVICE: "0"
DUMP1090_GAIN: "" #leave blank for default
DUMP1090_PPM: "0"
DUMP1090_MAX_RANGE: "360"
DUMP1090_ADAPTIVE_DYNAMIC_RANGE: "" #leave blank for default
DUMP1090_ADAPTIVE_BURST: "" #leave blank for default
DUMP1090_ADAPTIVE_MIN_GAIN: "" #leave blank for default
DUMP1090_ADAPTIVE_MAX_GAIN: "" #leave blank for default
DUMP1090_SLOW_CPU: "" #leave blank for default networks:
devices:
- "/dev/bus/usb"
ports:
- "8080:8080"
networks:
- wingbits
graphs1090:
depends_on:
- dump1090-fa
build: ./graphs1090
image: graphs1090
tty: true
restart: always
volumes:
- graphs1090_rrd:/var/lib/collectd/rrd:rw
environment:
<<: *latlon
BEASTHOST: "dump1090-fa"
MLATHOST: "dump1090-fa"
TZ: *timezone
ports:
- "8888:80"
networks:
- wingbits
wingbits:
depends_on:
- dump1090-fa
build: ./wingbits
image: wingbits
restart: always
environment:
<<: *wingbits-device
DUMP1090_HOST: "dump1090-fa"
networks:
- wingbits
networks:
wingbits:
driver: bridge
volumes:
graphs1090_rrd:
driver: local