mirror of
https://github.com/smittix/intercept.git
synced 2026-07-07 17:18:11 -07:00
fix: correct ADS-B Postgres password env var mismatch and docs
setup.sh wrote/read the local Postgres wizard password under INTERCEPT_ADSB_DB_PASS, but config.py and docker-compose.yml expect INTERCEPT_ADSB_DB_PASSWORD — any custom password set via the wizard was silently ignored. Also make docker-compose actually honor INTERCEPT_ADSB_DB_PASSWORD instead of hardcoding "intercept" for both the app and Postgres containers, and correct a misleading .env.example comment about admin password auto-generation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -106,7 +106,7 @@ services:
|
||||
- INTERCEPT_ADSB_DB_PORT=5432
|
||||
- INTERCEPT_ADSB_DB_NAME=intercept_adsb
|
||||
- INTERCEPT_ADSB_DB_USER=intercept
|
||||
- INTERCEPT_ADSB_DB_PASSWORD=intercept
|
||||
- INTERCEPT_ADSB_DB_PASSWORD=${INTERCEPT_ADSB_DB_PASSWORD:-intercept}
|
||||
# ADS-B auto-start on dashboard load (default false)
|
||||
- INTERCEPT_ADSB_AUTO_START=${INTERCEPT_ADSB_AUTO_START:-false}
|
||||
# Shared observer location across modules
|
||||
@@ -133,7 +133,7 @@ services:
|
||||
- TZ=${TZ:-UTC}
|
||||
- POSTGRES_DB=intercept_adsb
|
||||
- POSTGRES_USER=intercept
|
||||
- POSTGRES_PASSWORD=intercept
|
||||
- POSTGRES_PASSWORD=${INTERCEPT_ADSB_DB_PASSWORD:-intercept}
|
||||
volumes:
|
||||
# Default local path (override with PGDATA_PATH for external storage)
|
||||
- ${PGDATA_PATH:-./pgdata}:/var/lib/postgresql/data
|
||||
|
||||
Reference in New Issue
Block a user