forked from ketilmo/balena-ads-b
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
93 lines (93 loc) · 3.77 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
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '2'
services:
frontend-proxy:
image: traefik
build: ./traefik
ports:
- "80:80"
labels:
io.balena.features.balena-socket: '1'
dump1090-fa:
build: ./dump1090-fa
image: dump1090-fa
environment:
- LAT=
- LON=
devices:
- "/dev/bus/usb"
expose:
- "30001"
- "30002"
- "30003"
- "30004"
- "30005"
- "30104"
- "8080"
ports:
- "8080:8080"
labels:
- "traefik.enable=true"
- "traefik.http.routers.dump1090-fa.rule=PathPrefix(`/dump1090-fa`)"
- "traefik.http.routers.dump1090-fa.middlewares=dump1090-fa-redirect"
- "traefik.http.middlewares.dump1090-fa-redirect.redirectregex.regex=^.*/dump1090-fa$$"
- "traefik.http.middlewares.dump1090-fa-redirect.redirectregex.replacement=/dump1090-fa/"
- "traefik.http.middlewares.dump1090-fa-redirect.redirectregex.permanent=true"
piaware:
depends_on:
- dump1090-fa
build: ./piaware
image: piaware
environment:
- FLIGHTAWARE_FEEDER_ID=
fr24feed:
depends_on:
- dump1090-fa
build: ./fr24feed
image: fr24feed
ports:
- "8754:8754"
environment:
- FR24_KEY=
labels:
- "traefik.enable=true"
- "traefik.http.routers.fr24feed.rule=PathPrefix(`/fr24feed`)"
- "traefik.http.routers.fr24feed-a.rule=Path(`/logo.png`)"
- "traefik.http.routers.fr24feed-b.rule=Path(`/monitor.json`)"
- "traefik.http.routers.fr24feed-c.rule=Path(`/settings.html`)"
- "traefik.http.routers.fr24feed-d.rule=Path(`/restart.html`)"
- "traefik.http.routers.fr24feed-e.rule=Path(`/tracked.html`)"
- "traefik.http.routers.fr24feed-f.rule=Path(`/fr24.css`)"
- "traefik.http.routers.fr24feed-g.rule=Path(`/jquery.js`)"
- "traefik.http.routers.fr24feed-h.rule=Path(`/flights.json`)"
- "traefik.http.routers.fr24feed-i.rule=Path(`/shutdown.html`)"
- "traefik.http.routers.fr24feed.middlewares=fr24feed-redirect,fr24feed-stripprefix"
- "traefik.http.middlewares.fr24feed-redirect.redirectregex.regex=^.*/fr24feed$$"
- "traefik.http.middlewares.fr24feed-redirect.redirectregex.replacement=/fr24feed/"
- "traefik.http.middlewares.fr24feed-redirect.redirectregex.permanent=true"
- "traefik.http.middlewares.fr24feed-stripprefix.stripprefix.prefixes=/fr24feed"
planefinder:
depends_on:
- dump1090-fa
build: ./planefinder
image: planefinder
ports:
- "30053:30053"
labels:
- "traefik.enable=true"
- "traefik.http.routers.planefinder.rule=PathPrefix(`/planefinder`)"
- "traefik.http.routers.planefinder-a.rule=PathPrefix(`/`)"
- "traefik.http.routers.planefinder-b.rule=PathPrefix(`/ajax/`)"
- "traefik.http.routers.planefinder-c.rule=PathPrefix(`/assets/`)"
- "traefik.http.routers.planefinder-d.rule=PathPrefix(`/client/`)"
- "traefik.http.routers.planefinder-e.rule=Path(`/map.html`)"
- "traefik.http.routers.planefinder-f.rule=Path(`/map3D.html`)"
- "traefik.http.routers.planefinder-g.rule=Path(`/data.html`)"
- "traefik.http.routers.planefinder-h.rule=Path(`/logs.html`)"
- "traefik.http.routers.planefinder-i.rule=Path(`/viz.html`)"
- "traefik.http.routers.planefinder-j.rule=Path(`/stats.html`)"
- "traefik.http.routers.planefinder-l.rule=Path(`/setup.html`)"
- "traefik.http.routers.planefinder.middlewares=planefinder-redirect,planefinder-stripprefix"
- "traefik.http.middlewares.planefinder-redirect.redirectregex.regex=^.*/planefinder$$"
- "traefik.http.middlewares.planefinder-redirect.redirectregex.replacement=/planefinder/"
- "traefik.http.middlewares.planefinder-redirect.redirectregex.permanent=true"
- "traefik.http.middlewares.planefinder-stripprefix.stripprefix.prefixes=/planefinder"