-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy pathcompose.yaml
More file actions
38 lines (35 loc) · 1.3 KB
/
Copy pathcompose.yaml
File metadata and controls
38 lines (35 loc) · 1.3 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
# Skylight as a server-driven projector (issue #11).
#
# docker compose up -d --build
# open http://<host>:3000/ (display) · /control (phone panel)
#
# Out of the box this uses the free airplanes.live API so it runs with no radio.
# To use your own ADS-B receiver, set DATA_SOURCE=radio and point AIRCRAFT_JSON_URL
# at an existing dump1090/readsb feed on your network (you can also change the URL
# live from the control panel's Source section).
services:
skylight:
build: .
image: skylight
restart: unless-stopped
ports:
- "3000:3000"
environment:
DATA_SOURCE: api
# DATA_SOURCE: radio
# AIRCRAFT_JSON_URL: http://192.168.1.50:8080/data/aircraft.json
# Add your own hostname/tunnel if you expose this beyond the LAN:
# ALLOWED_HOSTS: skylight.example.com
volumes:
# Persist config.json + route/TLE caches across restarts.
- skylight-data:/app/server/data
# To reach a decoder running in ANOTHER compose project (e.g. ultrafeeder),
# join its network so the container name resolves — then use
# AIRCRAFT_JSON_URL: http://ultrafeeder:8080/data/aircraft.json
# networks: [adsb]
# networks:
# adsb:
# external: true
# name: <the decoder project's network — see `docker network ls`>
volumes:
skylight-data: