-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathdocker-compose-testing-example.yaml
More file actions
83 lines (81 loc) · 2.36 KB
/
docker-compose-testing-example.yaml
File metadata and controls
83 lines (81 loc) · 2.36 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
74
75
76
77
78
79
80
81
82
83
services:
# Nginx reverse proxy for testing subpath deployment
nginx:
image: nginx:alpine@sha256:5616878291a2eed594aee8db4dade5878cf7edcb475e59193904b198d9b830de
container_name: acarshub-nginx
restart: always
ports:
- 3002:80
volumes:
- ./nginx-test.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- acarshub
# ACARS Related Services
acarshub:
#image: ghcr.io/sdr-enthusiasts/docker-acarshub:v4-latest
image: ah:test
tty: true
container_name: acarshub
restart: always
ports:
- 3001:80
# No need to expose port when using nginx proxy, but keeping for direct access
environment:
- ENABLE_VDLM=true
- ENABLE_ACARS=true
- ENABLE_HFDL=true
- ENABLE_IMSL=true
- ACARS_CONNECTIONS=tcp://acars_router:15550
- VDLM_CONNECTIONS=tcp://acars_router:15555
- HFDL_CONNECTIONS=tcp://acars_router:15556
- FLIGHT_TRACKING_URL=https://www.radarbox.com/data/flights/
- STATION_ID_ACARS=CS-KABQ-ACARS
- STATION_ID_VDLM=CS-KABQ-VDLM
- IATA_OVERRIDE=UP|UPS|United Parcel Service;GS|FTH|Mountain Aviation (Foothills);GS|EJA|ExecJet
- ENABLE_ADSB=true
- ADSB_LAT=35.043
- ADSB_LON=-106.715
- ADSB_URL=http://fredclausen.com/tar1090/data/aircraft.json
- ADSB_BYPASS_URL=true
- DB_SAVE_DAYS=1000
- DB_ALERT_SAVE_DAYS=1000
volumes:
- "./acars_data:/run/acars"
tmpfs:
- /database:exec,size=64M
- /run:exec,size=64M
- /var/log
acars_router:
image: ghcr.io/sdr-enthusiasts/acars_router:latest
tty: true
ports:
- 15550:15550
- 15555:15555
- 15556:15556
- 35550:35550
- 35555:35555
- 35556:35556
- 45550:45550
- 45555:45555
- 45556:45556
- 5550:5550
- 5556:5556
container_name: acars_router
restart: always
environment:
- AR_ADD_PROXY_ID=true
- AR_STATS_VERBOSE=true
- AR_STATS_EVERY=60
- AR_VERBOSITY=info
- TZ=${FEEDER_TZ}
- AR_ENABLE_DEDUPE=true
# - AR_SEND_UDP_ACARS=acarshub:5550
# - AR_SEND_UDP_VDLM2=acarshub:5555
# - AR_SEND_UDP_HFDL=acarshub:5556
- AR_RECV_TCP_ACARS=5.161.253.151:15550
- AR_RECV_TCP_VDLM2=5.161.253.151:15555
- AR_RECV_TCP_HFDL=5.161.253.151:15556
- AR_SKEW_WINDOW=20
tmpfs:
- /run:exec,size=64M
- /var/log