mirror of
https://github.com/smittix/intercept.git
synced 2026-07-01 22:39:00 -07:00
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:
@@ -62,38 +62,16 @@ docker compose up -d
|
|||||||
|
|
||||||
> **Note:** Docker requires privileged mode for USB SDR access. See `docker-compose.yml` for configuration options.
|
> **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.
|
The ADS-B history feature persists aircraft messages to Postgres for long-term analysis.
|
||||||
|
|
||||||
1. Enable history and DB connection:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export INTERCEPT_ADSB_HISTORY_ENABLED=true
|
# Start with ADS-B history and Postgres
|
||||||
export INTERCEPT_ADSB_DB_HOST=adsb_db
|
docker compose --profile history up -d
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Start the services (includes Postgres in `docker-compose.yml`):
|
Then open **/adsb/history** for the reporting dashboard.
|
||||||
|
|
||||||
```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
|
|
||||||
```
|
|
||||||
|
|
||||||
### Open the Interface
|
### Open the Interface
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user