-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
34 lines (32 loc) · 1.14 KB
/
docker-compose.dev.yml
File metadata and controls
34 lines (32 loc) · 1.14 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
version: '3.8'
services:
flightboard-web:
# Build from local source for development
build:
context: .
dockerfile: Dockerfile
args:
- NODE_ENV=development
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}
volumes:
# Mount source code for development (optional, for hot-reload if configured)
- ./src:/app/src:ro
- ./public:/app/public:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s