mirror of
https://github.com/smittix/intercept.git
synced 2026-06-13 08:13:32 -07:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec19d4b55e |
@@ -35,6 +35,7 @@ htmlcov/
|
|||||||
|
|
||||||
# Local Postgres data
|
# Local Postgres data
|
||||||
pgdata/
|
pgdata/
|
||||||
|
pgdata.bak/
|
||||||
|
|
||||||
# Captured files (don't include in image)
|
# Captured files (don't include in image)
|
||||||
*.cap
|
*.cap
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# Uncomment and set to use external storage for ADS-B history
|
||||||
|
# PGDATA_PATH=/mnt/external/intercept/pgdata
|
||||||
@@ -54,3 +54,8 @@ intercept_agent_*.cfg
|
|||||||
# Temporary files
|
# Temporary files
|
||||||
/tmp/
|
/tmp/
|
||||||
*.tmp
|
*.tmp
|
||||||
|
|
||||||
|
# Env files
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|||||||
+2
-1
@@ -94,7 +94,8 @@ services:
|
|||||||
- POSTGRES_USER=intercept
|
- POSTGRES_USER=intercept
|
||||||
- POSTGRES_PASSWORD=intercept
|
- POSTGRES_PASSWORD=intercept
|
||||||
volumes:
|
volumes:
|
||||||
- ./pgdata:/var/lib/postgresql/data
|
# Default local path (override with PGDATA_PATH for external storage)
|
||||||
|
- ${PGDATA_PATH:-./pgdata}:/var/lib/postgresql/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U intercept -d intercept_adsb"]
|
test: ["CMD-SHELL", "pg_isready -U intercept -d intercept_adsb"]
|
||||||
|
|||||||
Reference in New Issue
Block a user