docs: Simplify ADS-B history setup instructions

Update README to use Docker Compose profiles instead of environment variables.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-25 13:18:54 +00:00
parent d297f87115
commit a73a74d1fc
+5 -27
View File
@@ -62,38 +62,16 @@ docker compose up -d
> **Note:** Docker requires privileged mode for USB SDR access. See `docker-compose.yml` for configuration options.
### ADS-B History (Optional, Postgres)
### ADS-B History (Optional)
The ADS-B history dashboard persists aircraft messages and snapshots to Postgres.
1. Enable history and DB connection:
The ADS-B history feature persists aircraft messages to Postgres for long-term analysis.
```bash
export INTERCEPT_ADSB_HISTORY_ENABLED=true
export INTERCEPT_ADSB_DB_HOST=adsb_db
export INTERCEPT_ADSB_DB_PORT=5432
export INTERCEPT_ADSB_DB_NAME=intercept_adsb
export INTERCEPT_ADSB_DB_USER=intercept
export INTERCEPT_ADSB_DB_PASSWORD=intercept
# Start with ADS-B history and Postgres
docker compose --profile history up -d
```
2. Start the services (includes Postgres in `docker-compose.yml`):
```bash
docker compose up -d
```
3. Open **/adsb/history** for the reporting dashboard and headless start/stop controls.
### Local Fixes Branch (Optional)
If you keep local changes (e.g., custom health checks), use a separate branch and rebase it after updates:
```bash
git fetch origin
git checkout local-fixes
git rebase origin/main
```
Then open **/adsb/history** for the reporting dashboard.
### Open the Interface