-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
30 lines (28 loc) · 1.08 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
version: '3.8'
services:
flightboard-web:
# Use the published image from GHCR
image: ghcr.io/airframes/flightboard:latest
# Or build locally (uncomment the lines below and comment out the image line above)
# build:
# context: .
# dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
# Flight Provider Configuration
- FLIGHT_PROVIDER_PRIORITY=${FLIGHT_PROVIDER_PRIORITY:-airframes,flightaware,aviationstack,flightradar24,airnav,adsbim,adsblol,opensky}
# API Keys (set these in your .env file or environment)
- AIRFRAMES_API_KEY=${AIRFRAMES_API_KEY}
- FLIGHTAWARE_API_KEY=${FLIGHTAWARE_API_KEY}
- AVIATIONSTACK_API_KEY=${AVIATIONSTACK_API_KEY}
- FLIGHTRADAR24_API_KEY=${FLIGHTRADAR24_API_KEY}
- AIRNAV_API_KEY=${AIRNAV_API_KEY}
- AVIATION_EDGE_API_KEY=${AVIATION_EDGE_API_KEY}
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s